aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-05-27 19:06:50 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2025-05-28 15:10:22 -0400
commit8bacf3e75703b312c345a79e9bd995d186d63b7d (patch)
treed7aea9c62cde920ee4f243ed3132fba179c4ab04 /src/InternPool.zig
parent3fd3358f37668e54d214aec57033861ea17fd76d (diff)
downloadzig-8bacf3e75703b312c345a79e9bd995d186d63b7d.tar.gz
zig-8bacf3e75703b312c345a79e9bd995d186d63b7d.zip
x86_64: implement integer `@reduce(.Max)`
Diffstat (limited to 'src/InternPool.zig')
-rw-r--r--src/InternPool.zig5
1 files changed, 5 insertions, 0 deletions
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,