aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-05-29 06:11:28 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2025-05-31 18:54:28 -0400
commitc1e9ef9eaabb2219a3762c5957b1c63ad20bf1ed (patch)
treee7f1c0f1aa7dc8268283a0ef71ef15b888ce9173 /test/behavior/math.zig
parentc907866d55dd92352e26f7501e5a441210bedaba (diff)
downloadzig-c1e9ef9eaabb2219a3762c5957b1c63ad20bf1ed.tar.gz
zig-c1e9ef9eaabb2219a3762c5957b1c63ad20bf1ed.zip
Legalize: implement scalarization of unary operations
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 5cb41aa228..1e4bac12e7 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -193,12 +193,12 @@ fn testCtz128() !void {
test "@ctz vectors" {
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
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 builtin.target.ofmt != .elf and builtin.target.ofmt != .macho) return error.SkipZigTest;
try testCtzVectors();
try comptime testCtzVectors();