| ... | ... | @@ -614,11 +614,6 @@ pub fn shl(comptime T: type, a: T, shift_amt: anytype) T { |
| 614 | 614 | } |
| 615 | 615 | |
| 616 | 616 | test 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 | | |
| 622 | 617 | try testing.expect(shl(u8, 0b11111111, @as(usize, 3)) == 0b11111000); |
| 623 | 618 | try testing.expect(shl(u8, 0b11111111, @as(usize, 8)) == 0); |
| 624 | 619 | 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 { |
| 659 | 654 | } |
| 660 | 655 | |
| 661 | 656 | test 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 | | |
| 667 | 657 | try testing.expect(shr(u8, 0b11111111, @as(usize, 3)) == 0b00011111); |
| 668 | 658 | try testing.expect(shr(u8, 0b11111111, @as(usize, 8)) == 0); |
| 669 | 659 | 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 { |
| 705 | 695 | } |
| 706 | 696 | |
| 707 | 697 | test 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 | | |
| 713 | 698 | try testing.expect(rotr(u0, 0b0, @as(usize, 3)) == 0b0); |
| 714 | 699 | try testing.expect(rotr(u5, 0b00001, @as(usize, 0)) == 0b00001); |
| 715 | 700 | 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 { |
| 751 | 736 | } |
| 752 | 737 | |
| 753 | 738 | test 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 | | |
| 759 | 739 | try testing.expect(rotl(u0, 0b0, @as(usize, 3)) == 0b0); |
| 760 | 740 | try testing.expect(rotl(u5, 0b00001, @as(usize, 0)) == 0b00001); |
| 761 | 741 | try testing.expect(rotl(u6, 0b000001, @as(usize, 7)) == 0b000010); |
| ... | ... | @@ -1862,10 +1842,6 @@ fn testSign() !void { |
| 1862 | 1842 | } |
| 1863 | 1843 | |
| 1864 | 1844 | test sign { |
| 1865 | | if (builtin.zig_backend == .stage2_llvm) { |
| 1866 | | // https://github.com/ziglang/zig/issues/12012 |
| 1867 | | return error.SkipZigTest; |
| 1868 | | } |
| 1869 | 1845 | try testSign(); |
| 1870 | 1846 | try comptime testSign(); |
| 1871 | 1847 | } |