aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/select.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-05-30 18:04:30 -0400
committermlugg <mlugg@mlugg.co.uk>2025-06-01 08:24:01 +0100
commitb48d6ff619de424e664cf11b43e2a03fecbca6ce (patch)
tree5d0457b8c548df15b170bf3e1d3b941276052f6e /test/behavior/select.zig
parent32a57bfeaa9a9cd2b1a4c0e25d829824d8b96c8d (diff)
downloadzig-b48d6ff619de424e664cf11b43e2a03fecbca6ce.tar.gz
zig-b48d6ff619de424e664cf11b43e2a03fecbca6ce.zip
Legalize: implement scalarization of `@select`
Diffstat (limited to 'test/behavior/select.zig')
-rw-r--r--test/behavior/select.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/select.zig b/test/behavior/select.zig
index d835db5e70..8950d512bf 100644
--- a/test/behavior/select.zig
+++ b/test/behavior/select.zig
@@ -41,8 +41,6 @@ test "@select arrays" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64 and
- !comptime std.Target.x86.featureSetHas(builtin.cpu.features, .avx2)) return error.SkipZigTest;
try comptime selectArrays();
try selectArrays();
@@ -70,7 +68,6 @@ fn selectArrays() !void {
test "@select compare result" {
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest;
const S = struct {