aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/floatop.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-05 20:23:36 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-07 00:29:17 -0400
commit5aeb13c3500f2244efe916a88278a86692dfc400 (patch)
treed7f04d76b1445e679b058efdfc0b2958e6178ed4 /test/behavior/floatop.zig
parent9f8b2ff9e223315682fbe9237239714b7d8883f6 (diff)
downloadzig-5aeb13c3500f2244efe916a88278a86692dfc400.tar.gz
zig-5aeb13c3500f2244efe916a88278a86692dfc400.zip
x86_64: implement `f80` movement
Diffstat (limited to 'test/behavior/floatop.zig')
-rw-r--r--test/behavior/floatop.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig
index f9624880d9..f6138f7cd5 100644
--- a/test/behavior/floatop.zig
+++ b/test/behavior/floatop.zig
@@ -28,7 +28,7 @@ test "add f32/f64" {
}
test "add f80/f128/c_longdouble" {
- 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 testAdd(f80);
try comptime testAdd(f80);
@@ -59,7 +59,7 @@ test "sub f32/f64" {
}
test "sub f80/f128/c_longdouble" {
- 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 testSub(f80);
try comptime testSub(f80);
@@ -90,7 +90,7 @@ test "mul f32/f64" {
}
test "mul f80/f128/c_longdouble" {
- 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 testMul(f80);
try comptime testMul(f80);