diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-01-29 23:55:55 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-01-31 23:00:34 -0500 |
| commit | b9531f5de6a36d016a551be68080a314b90eb154 (patch) | |
| tree | 127fb77990d6f2f7609b723ffa9470c0ab9c8106 /src/InternPool.zig | |
| parent | afa74c6b213efb1ff85b86ce4a9edd5cc03e5a9b (diff) | |
| download | zig-b9531f5de6a36d016a551be68080a314b90eb154.tar.gz zig-b9531f5de6a36d016a551be68080a314b90eb154.zip | |
x86_64: rewrite float vector conversions
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index ed585a0393..3668228e07 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -4593,6 +4593,7 @@ pub const Index = enum(u32) { vector_4_u64_type, vector_4_f16_type, vector_8_f16_type, + vector_2_f32_type, vector_4_f32_type, vector_8_f32_type, vector_2_f64_type, @@ -5124,6 +5125,8 @@ pub const static_keys = [_]Key{ .{ .vector_type = .{ .len = 4, .child = .f16_type } }, // @Vector(8, f16) .{ .vector_type = .{ .len = 8, .child = .f16_type } }, + // @Vector(2, f32) + .{ .vector_type = .{ .len = 2, .child = .f32_type } }, // @Vector(4, f32) .{ .vector_type = .{ .len = 4, .child = .f32_type } }, // @Vector(8, f32) @@ -11778,6 +11781,7 @@ pub fn typeOf(ip: *const InternPool, index: Index) Index { .vector_4_u64_type, .vector_4_f16_type, .vector_8_f16_type, + .vector_2_f32_type, .vector_4_f32_type, .vector_8_f32_type, .vector_2_f64_type, @@ -12117,6 +12121,7 @@ pub fn zigTypeTag(ip: *const InternPool, index: Index) std.builtin.TypeId { .vector_4_u64_type, .vector_4_f16_type, .vector_8_f16_type, + .vector_2_f32_type, .vector_4_f32_type, .vector_8_f32_type, .vector_2_f64_type, |
