authorgravatar for julian@radix-security.comJulian Vesper <julian@radix-security.com> 2024-07-25 14:58:41+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2024-07-25 20:23:23+03:00
log3344ed8b8f9142fa547f3d8b598acdb561055a52
tree7553e315f2133edaebb482c2d6703634fe955c97
parentb22357b88b44e47a9c0347cb47d2be2ed3c461a1

aarch64: reenable tests that are no longer regressed

Closes #12012

3 files changed, 0 insertions(+), 35 deletions(-)

lib/std/math.zig-24
......@@ -614,11 +614,6 @@ pub fn shl(comptime T: type, a: T, shift_amt: anytype) T {
614614}
615615
616616test shl {
617 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
618 // https://github.com/ziglang/zig/issues/12012
619 return error.SkipZigTest;
620 }
621
622617 try testing.expect(shl(u8, 0b11111111, @as(usize, 3)) == 0b11111000);
623618 try testing.expect(shl(u8, 0b11111111, @as(usize, 8)) == 0);
624619 try testing.expect(shl(u8, 0b11111111, @as(usize, 9)) == 0);
......@@ -659,11 +654,6 @@ pub fn shr(comptime T: type, a: T, shift_amt: anytype) T {
659654}
660655
661656test shr {
662 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
663 // https://github.com/ziglang/zig/issues/12012
664 return error.SkipZigTest;
665 }
666
667657 try testing.expect(shr(u8, 0b11111111, @as(usize, 3)) == 0b00011111);
668658 try testing.expect(shr(u8, 0b11111111, @as(usize, 8)) == 0);
669659 try testing.expect(shr(u8, 0b11111111, @as(usize, 9)) == 0);
......@@ -705,11 +695,6 @@ pub fn rotr(comptime T: type, x: T, r: anytype) T {
705695}
706696
707697test rotr {
708 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
709 // https://github.com/ziglang/zig/issues/12012
710 return error.SkipZigTest;
711 }
712
713698 try testing.expect(rotr(u0, 0b0, @as(usize, 3)) == 0b0);
714699 try testing.expect(rotr(u5, 0b00001, @as(usize, 0)) == 0b00001);
715700 try testing.expect(rotr(u6, 0b000001, @as(usize, 7)) == 0b100000);
......@@ -751,11 +736,6 @@ pub fn rotl(comptime T: type, x: T, r: anytype) T {
751736}
752737
753738test rotl {
754 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
755 // https://github.com/ziglang/zig/issues/12012
756 return error.SkipZigTest;
757 }
758
759739 try testing.expect(rotl(u0, 0b0, @as(usize, 3)) == 0b0);
760740 try testing.expect(rotl(u5, 0b00001, @as(usize, 0)) == 0b00001);
761741 try testing.expect(rotl(u6, 0b000001, @as(usize, 7)) == 0b000010);
......@@ -1862,10 +1842,6 @@ fn testSign() !void {
18621842}
18631843
18641844test sign {
1865 if (builtin.zig_backend == .stage2_llvm) {
1866 // https://github.com/ziglang/zig/issues/12012
1867 return error.SkipZigTest;
1868 }
18691845 try testSign();
18701846 try comptime testSign();
18711847}
lib/std/simd.zig-5
......@@ -233,11 +233,6 @@ pub fn extract(
233233test "vector patterns" {
234234 if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
235235
236 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
237 // https://github.com/ziglang/zig/issues/12012
238 return error.SkipZigTest;
239 }
240
241236 const base = @Vector(4, u32){ 10, 20, 30, 40 };
242237 const other_base = @Vector(4, u32){ 55, 66, 77, 88 };
243238
test/behavior/vector.zig-6
......@@ -286,12 +286,6 @@ test "tuple to vector" {
286286 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
287287 if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
288288
289 if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
290 // Regressed with LLVM 14:
291 // https://github.com/ziglang/zig/issues/12012
292 return error.SkipZigTest;
293 }
294
295289 const S = struct {
296290 fn doTheTest() !void {
297291 const Vec3 = @Vector(3, i32);