aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-05-27 11:02:35 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2025-05-28 15:10:22 -0400
commit3fd3358f37668e54d214aec57033861ea17fd76d (patch)
tree396bad08654cfbf0ccc69442e2a73064a73154d9 /src/Sema.zig
parent7d727ed7dfc7f3a2880ff1d7b88569dea9531e73 (diff)
downloadzig-3fd3358f37668e54d214aec57033861ea17fd76d.tar.gz
zig-3fd3358f37668e54d214aec57033861ea17fd76d.zip
x86_64: implement integer `@reduce(.Min)`
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 2b117aad82..95f968a346 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -36545,6 +36545,7 @@ pub fn typeHasOnePossibleValue(sema: *Sema, ty: Type) CompileError!?Value {
.vector_8_i8_type,
.vector_16_i8_type,
.vector_32_i8_type,
+ .vector_64_i8_type,
.vector_1_u8_type,
.vector_2_u8_type,
.vector_4_u8_type,
@@ -36552,20 +36553,27 @@ pub fn typeHasOnePossibleValue(sema: *Sema, ty: Type) CompileError!?Value {
.vector_16_u8_type,
.vector_32_u8_type,
.vector_64_u8_type,
+ .vector_2_i16_type,
.vector_4_i16_type,
.vector_8_i16_type,
.vector_16_i16_type,
+ .vector_32_i16_type,
.vector_4_u16_type,
.vector_8_u16_type,
.vector_16_u16_type,
+ .vector_32_u16_type,
.vector_4_i32_type,
.vector_8_i32_type,
+ .vector_16_i32_type,
.vector_4_u32_type,
.vector_8_u32_type,
+ .vector_16_u32_type,
.vector_2_i64_type,
.vector_4_i64_type,
+ .vector_8_i64_type,
.vector_2_u64_type,
.vector_4_u64_type,
+ .vector_8_u64_type,
.vector_1_u128_type,
.vector_2_u128_type,
.vector_1_u256_type,