Skip to content

Commit a777373

Browse files
committed
enable test on more targets
This was fixed by 8a0a6b7 for targets without avx512
1 parent 9c0f316 commit a777373

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

test/behavior/vector.zig

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,8 +1128,19 @@ test "byte vector initialized in inline function" {
11281128
}
11291129

11301130
test "byte vector initialized in inline function" {
1131-
// TODO https://github.com/ziglang/zig/issues/13279
1132-
if (true) return error.SkipZigTest;
1131+
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
1132+
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
1133+
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
1134+
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
1135+
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
1136+
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
1137+
1138+
if (comptime builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64 and
1139+
builtin.cpu.features.isEnabled(@enumToInt(std.Target.x86.Feature.avx512f)))
1140+
{
1141+
// TODO https://github.com/ziglang/zig/issues/13279
1142+
return error.SkipZigTest;
1143+
}
11331144

11341145
const S = struct {
11351146
fn boolx4(e0: bool, e1: bool, e2: bool, e3: bool) @Vector(4, bool) {

0 commit comments

Comments
 (0)