aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/enum.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/enum.zig
parent4ec49da5f6a6a8e77cdb66b8f814718bf11fffef (diff)
downloadzig-6de457211fe4f261fab6c30f652f833ed2a144b5.tar.gz
zig-6de457211fe4f261fab6c30f652f833ed2a144b5.zip
behavior: update affected tests for the x86_64 backend
Diffstat (limited to 'test/behavior/enum.zig')
-rw-r--r--test/behavior/enum.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig
index 316275d6ac..de5c0efb8e 100644
--- a/test/behavior/enum.zig
+++ b/test/behavior/enum.zig
@@ -940,6 +940,8 @@ test "constant enum initialization with differing sizes" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
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
try test3_1(test3_foo);
try test3_2(test3_bar);