aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/shuffle.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-09-01 15:38:58 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-09-01 15:41:29 -0700
commit303e1a062cdafa0fe06c4a78dabe0a077c239e04 (patch)
tree77bdbfa5e2f8a37294875188716e8767cee01e11 /test/behavior/shuffle.zig
parenta338eaccc8c3d20a476cb763afebeb7bb1b1a94a (diff)
downloadzig-303e1a062cdafa0fe06c4a78dabe0a077c239e04.tar.gz
zig-303e1a062cdafa0fe06c4a78dabe0a077c239e04.zip
re-enable mips behavior tests for vectors
closes #3317
Diffstat (limited to 'test/behavior/shuffle.zig')
-rw-r--r--test/behavior/shuffle.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/behavior/shuffle.zig b/test/behavior/shuffle.zig
index 3ccfc50f0b..e0f973762e 100644
--- a/test/behavior/shuffle.zig
+++ b/test/behavior/shuffle.zig
@@ -35,8 +35,7 @@ test "@shuffle" {
try expect(mem.eql(i32, &@as([4]i32, res), &[4]i32{ 2147483647, 3, -2, 4 }));
// bool
- // https://github.com/ziglang/zig/issues/3317
- if (builtin.target.cpu.arch != .mipsel and builtin.target.cpu.arch != .mips) {
+ {
var x2: Vector(4, bool) = [4]bool{ false, true, false, true };
var v4: Vector(2, bool) = [2]bool{ true, false };
const mask5: Vector(4, i32) = [4]i32{ 0, ~@as(i32, 1), 1, 2 };