authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-12-21 19:31:33+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-12-27 15:34:19+02:00
loga777373bb8d6fd94b54d63f124b7346163b39045
treed23f826dc935a096e572e44a656f068e1eb6ef94
parent9c0f3163a876859d3cf10c8b57d81cae381c46dc

enable test on more targets

This was fixed by 8a0a6b7387fcd0017db85de14793abfd6ec7f6e5 for targets without avx512

1 files changed, 13 insertions(+), 2 deletions(-)

test/behavior/vector.zig+13-2
...@@ -1128,8 +1128,19 @@ test "byte vector initialized in inline function" {...@@ -1128,8 +1128,19 @@ test "byte vector initialized in inline function" {
1128}1128}
11291129
1130test "byte vector initialized in inline function" {1130test "byte vector initialized in inline function" {
1131 // TODO https://github.com/ziglang/zig/issues/132791131 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
1132 if (true) return error.SkipZigTest;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
1134 const S = struct {1145 const S = struct {
1135 fn boolx4(e0: bool, e1: bool, e2: bool, e3: bool) @Vector(4, bool) {1146 fn boolx4(e0: bool, e1: bool, e2: bool, e3: bool) @Vector(4, bool) {