aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-04-27 03:24:48 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-05-01 19:22:52 -0400
commit6de457211fe4f261fab6c30f652f833ed2a144b5 (patch)
treece11e8bd26293bc58fc177e7ea0fe6534ee5d9df /test/behavior/math.zig
parent4ec49da5f6a6a8e77cdb66b8f814718bf11fffef (diff)
downloadzig-6de457211fe4f261fab6c30f652f833ed2a144b5.tar.gz
zig-6de457211fe4f261fab6c30f652f833ed2a144b5.zip
behavior: update affected tests for the x86_64 backend
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 846f72e301..b7dd6b9287 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -203,6 +203,8 @@ test "float equality" {
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_x86_64 and
+ comptime !std.Target.x86.featureSetHasAll(builtin.cpu.features, .{ .sse, .sse2, .sse4_1 })) return error.SkipZigTest; // TODO
const x: f64 = 0.012;
const y: f64 = x + 1.0;