From 8bacf3e75703b312c345a79e9bd995d186d63b7d Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Tue, 27 May 2025 19:06:50 -0400 Subject: x86_64: implement integer `@reduce(.Max)` --- src/InternPool.zig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/InternPool.zig') diff --git a/src/InternPool.zig b/src/InternPool.zig index 0a6a4c0f76..f5fb33ede9 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -4606,6 +4606,7 @@ pub const Index = enum(u32) { vector_8_u16_type, vector_16_u16_type, vector_32_u16_type, + vector_2_i32_type, vector_4_i32_type, vector_8_i32_type, vector_16_i32_type, @@ -5168,6 +5169,8 @@ pub const static_keys: [static_len]Key = .{ .{ .vector_type = .{ .len = 16, .child = .u16_type } }, // @Vector(32, u16) .{ .vector_type = .{ .len = 32, .child = .u16_type } }, + // @Vector(2, i32) + .{ .vector_type = .{ .len = 2, .child = .i32_type } }, // @Vector(4, i32) .{ .vector_type = .{ .len = 4, .child = .i32_type } }, // @Vector(8, i32) @@ -11870,6 +11873,7 @@ pub fn typeOf(ip: *const InternPool, index: Index) Index { .vector_8_u16_type, .vector_16_u16_type, .vector_32_u16_type, + .vector_2_i32_type, .vector_4_i32_type, .vector_8_i32_type, .vector_16_i32_type, @@ -12210,6 +12214,7 @@ pub fn zigTypeTag(ip: *const InternPool, index: Index) std.builtin.TypeId { .vector_8_u16_type, .vector_16_u16_type, .vector_32_u16_type, + .vector_2_i32_type, .vector_4_i32_type, .vector_8_i32_type, .vector_16_i32_type, -- cgit v1.2.3