aboutsummaryrefslogtreecommitdiff
path: root/test/behavior
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-02 10:45:56 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-02 10:45:56 -0700
commitdde0adcb363f3a3f306c0fc9eaec511cc3b74965 (patch)
tree9388d039a0b77211936c7264f5a3179f63ad51e6 /test/behavior
parentc4cd592f0e1eeff5a4056796610d97010ae4e38c (diff)
parent7a2624c3e40e2386a4a8a775b839e1d67608ec42 (diff)
downloadzig-dde0adcb363f3a3f306c0fc9eaec511cc3b74965.tar.gz
zig-dde0adcb363f3a3f306c0fc9eaec511cc3b74965.zip
Merge branch 'llvm13'
Diffstat (limited to 'test/behavior')
-rw-r--r--test/behavior/byteswap.zig3
-rw-r--r--test/behavior/popcount.zig3
-rw-r--r--test/behavior/shuffle.zig3
3 files changed, 1 insertions, 8 deletions
diff --git a/test/behavior/byteswap.zig b/test/behavior/byteswap.zig
index 7ec1b5379f..4affc99b59 100644
--- a/test/behavior/byteswap.zig
+++ b/test/behavior/byteswap.zig
@@ -39,9 +39,6 @@ test "@byteSwap integers" {
}
test "@byteSwap vectors" {
- // https://github.com/ziglang/zig/issues/3317
- if (std.Target.current.cpu.arch == .mipsel or std.Target.current.cpu.arch == .mips) return error.SkipZigTest;
-
const ByteSwapVectorTest = struct {
fn run() !void {
try t(u8, 2, [_]u8{ 0x12, 0x13 }, [_]u8{ 0x12, 0x13 });
diff --git a/test/behavior/popcount.zig b/test/behavior/popcount.zig
index 0a2352340d..1ee4b33190 100644
--- a/test/behavior/popcount.zig
+++ b/test/behavior/popcount.zig
@@ -46,9 +46,6 @@ fn testPopCountIntegers() !void {
}
test "@popCount vectors" {
- // https://github.com/ziglang/zig/issues/3317
- if (std.Target.current.cpu.arch == .mipsel or std.Target.current.cpu.arch == .mips) return error.SkipZigTest;
-
comptime try testPopCountVectors();
try testPopCountVectors();
}
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 };