aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-06-02 01:18:21 -0400
committerJacob Young <15544577+jacobly0@users.noreply.github.com>2025-06-02 22:45:15 -0400
commit2543e2d97c323fb4ec04e134005267252a2c96ed (patch)
tree53809392f591e2b29e5a43dcb44085e5d2bfbe61 /test/behavior/math.zig
parentf4f4460e178d13e62cc0031ef5a51a524101b9a0 (diff)
downloadzig-2543e2d97c323fb4ec04e134005267252a2c96ed.tar.gz
zig-2543e2d97c323fb4ec04e134005267252a2c96ed.zip
x86_64: implement integer `@divFloor` and `@mod`
Closes #24039
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 8eec0a4df9..232ba11eea 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -1893,13 +1893,13 @@ test "float divide by zero" {
test "partially-runtime integer vector division would be illegal if vector elements were reordered" {
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_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf and builtin.target.ofmt != .macho) return error.SkipZigTest;
var lhs: @Vector(2, i8) = .{ -128, 5 };
const rhs: @Vector(2, i8) = .{ 1, -1 };