aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-01-24 14:00:15 -0500
committerJacob Young <jacobly0@users.noreply.github.com>2025-01-24 21:02:32 -0500
commitc7433212d1bf96adbfc6f3d706404436c0c98c20 (patch)
tree304a40ecffbb474aad12cf4fad371959042034a5 /lib/std
parent7701cfa032a0d3611310426d5a5027d8862d49b1 (diff)
downloadzig-c7433212d1bf96adbfc6f3d706404436c0c98c20.tar.gz
zig-c7433212d1bf96adbfc6f3d706404436c0c98c20.zip
x86_64: rewrite scalar and vector int `@min` and `@max`
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/zig/Zir.zig18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/std/zig/Zir.zig b/lib/std/zig/Zir.zig
index 2ee4053331..f26bc288f4 100644
--- a/lib/std/zig/Zir.zig
+++ b/lib/std/zig/Zir.zig
@@ -2128,7 +2128,7 @@ pub const Inst = struct {
ref_start_index = static_len,
_,
- pub const static_len = 76;
+ pub const static_len = 92;
pub fn toRef(i: Index) Inst.Ref {
return @enumFromInt(@intFromEnum(Index.ref_start_index) + @intFromEnum(i));
@@ -2211,6 +2211,22 @@ pub const Inst = struct {
single_const_pointer_to_comptime_int_type,
slice_const_u8_type,
slice_const_u8_sentinel_0_type,
+ vector_16_i8_type,
+ vector_32_i8_type,
+ vector_16_u8_type,
+ vector_32_u8_type,
+ vector_8_i16_type,
+ vector_16_i16_type,
+ vector_8_u16_type,
+ vector_16_u16_type,
+ vector_4_i32_type,
+ vector_8_i32_type,
+ vector_4_u32_type,
+ vector_8_u32_type,
+ vector_2_i64_type,
+ vector_4_i64_type,
+ vector_2_u64_type,
+ vector_4_u64_type,
vector_4_f16_type,
vector_8_f16_type,
vector_4_f32_type,