aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-08 02:13:33 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-08 04:41:55 -0400
commit3bf9a8feb50c3ff20da80593a735ec3244cb5d89 (patch)
treeee53ac71cb9fbed67b0daa5487030d430b8dd842 /test
parent9fc9235ac815f8b0ad88445216407a0a9f747d5f (diff)
downloadzig-3bf9a8feb50c3ff20da80593a735ec3244cb5d89.tar.gz
zig-3bf9a8feb50c3ff20da80593a735ec3244cb5d89.zip
x86_64: fix `@divTrunc` and `@divFloor` of `f16`
Diffstat (limited to 'test')
-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 c29ef4ad8c..e017a62aa6 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -495,11 +495,11 @@ fn testDivision() !void {
}
test "division half-precision floats" {
- 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_spirv64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf) return error.SkipZigTest;
try testDivisionFP16();
try comptime testDivisionFP16();