diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-05-12 06:46:38 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-05-17 02:08:41 -0400 |
| commit | 6d68a494c8a5abf86c406a82c0f744a999084abe (patch) | |
| tree | 1d6c6da9b80e4b38779569a3c7f29b8846430372 /src/InternPool.zig | |
| parent | 6dbf1c7682f446d5684fbfafd5274361ac6b64cf (diff) | |
| download | zig-6d68a494c8a5abf86c406a82c0f744a999084abe.tar.gz zig-6d68a494c8a5abf86c406a82c0f744a999084abe.zip | |
x86_64: rewrite vector `+|`
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index 195ebfedd6..f4ab88914e 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -4572,6 +4572,7 @@ pub const Index = enum(u32) { slice_const_u8_type, slice_const_u8_sentinel_0_type, + vector_8_i8_type, vector_16_i8_type, vector_32_i8_type, vector_1_u8_type, @@ -4580,8 +4581,10 @@ pub const Index = enum(u32) { vector_8_u8_type, vector_16_u8_type, vector_32_u8_type, + vector_4_i16_type, vector_8_i16_type, vector_16_i16_type, + vector_4_u16_type, vector_8_u16_type, vector_16_u16_type, vector_4_i32_type, @@ -5090,6 +5093,8 @@ pub const static_keys = [_]Key{ }, } }, + // @Vector(8, i8) + .{ .vector_type = .{ .len = 8, .child = .i8_type } }, // @Vector(16, i8) .{ .vector_type = .{ .len = 16, .child = .i8_type } }, // @Vector(32, i8) @@ -5106,10 +5111,14 @@ pub const static_keys = [_]Key{ .{ .vector_type = .{ .len = 16, .child = .u8_type } }, // @Vector(32, u8) .{ .vector_type = .{ .len = 32, .child = .u8_type } }, + // @Vector(4, i16) + .{ .vector_type = .{ .len = 4, .child = .i16_type } }, // @Vector(8, i16) .{ .vector_type = .{ .len = 8, .child = .i16_type } }, // @Vector(16, i16) .{ .vector_type = .{ .len = 16, .child = .i16_type } }, + // @Vector(4, u16) + .{ .vector_type = .{ .len = 4, .child = .u16_type } }, // @Vector(8, u16) .{ .vector_type = .{ .len = 8, .child = .u16_type } }, // @Vector(16, u16) @@ -11777,6 +11786,7 @@ pub fn typeOf(ip: *const InternPool, index: Index) Index { .single_const_pointer_to_comptime_int_type, .slice_const_u8_type, .slice_const_u8_sentinel_0_type, + .vector_8_i8_type, .vector_16_i8_type, .vector_32_i8_type, .vector_1_u8_type, @@ -11785,8 +11795,10 @@ pub fn typeOf(ip: *const InternPool, index: Index) Index { .vector_8_u8_type, .vector_16_u8_type, .vector_32_u8_type, + .vector_4_i16_type, .vector_8_i16_type, .vector_16_i16_type, + .vector_4_u16_type, .vector_8_u16_type, .vector_16_u16_type, .vector_4_i32_type, @@ -12121,6 +12133,7 @@ pub fn zigTypeTag(ip: *const InternPool, index: Index) std.builtin.TypeId { .slice_const_u8_sentinel_0_type, => .pointer, + .vector_8_i8_type, .vector_16_i8_type, .vector_32_i8_type, .vector_1_u8_type, @@ -12129,8 +12142,10 @@ pub fn zigTypeTag(ip: *const InternPool, index: Index) std.builtin.TypeId { .vector_8_u8_type, .vector_16_u8_type, .vector_32_u8_type, + .vector_4_i16_type, .vector_8_i16_type, .vector_16_i16_type, + .vector_4_u16_type, .vector_8_u16_type, .vector_16_u16_type, .vector_4_i32_type, |
