aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/floatop.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-07 21:06:25 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-08 04:41:55 -0400
commit24d76500d2d0220d313b5f79c880855b776d61c2 (patch)
tree9702f0e4a1ef18fffed7fcedd077861010729542 /test/behavior/floatop.zig
parent24c67992e00b0043ab9409d58ffcecb2f689ee6f (diff)
downloadzig-24d76500d2d0220d313b5f79c880855b776d61c2.tar.gz
zig-24d76500d2d0220d313b5f79c880855b776d61c2.zip
x86_64: fix bitcast from `f80`
Diffstat (limited to 'test/behavior/floatop.zig')
-rw-r--r--test/behavior/floatop.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig
index 1074cec16c..05ac8a6a89 100644
--- a/test/behavior/floatop.zig
+++ b/test/behavior/floatop.zig
@@ -1294,7 +1294,7 @@ test "neg f80/f128/c_longdouble" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_spirv64) 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_x86_64 and builtin.target.ofmt != .elf) return error.SkipZigTest;
try testNeg(f80);
try comptime testNeg(f80);