@@ -523,10 +523,6 @@ pub fn shl(comptime T: type, a: T, shift_amt: anytype) T {
523
523
}
524
524
525
525
test "shl" {
526
- if (builtin .zig_backend == .stage2_llvm and builtin .cpu .arch == .aarch64 ) {
527
- // https://github.com/ziglang/zig/issues/12012
528
- return error .SkipZigTest ;
529
- }
530
526
try testing .expect (shl (u8 , 0b11111111 , @as (usize , 3 )) == 0b11111000 );
531
527
try testing .expect (shl (u8 , 0b11111111 , @as (usize , 8 )) == 0 );
532
528
try testing .expect (shl (u8 , 0b11111111 , @as (usize , 9 )) == 0 );
@@ -567,10 +563,6 @@ pub fn shr(comptime T: type, a: T, shift_amt: anytype) T {
567
563
}
568
564
569
565
test "shr" {
570
- if (builtin .zig_backend == .stage2_llvm and builtin .cpu .arch == .aarch64 ) {
571
- // https://github.com/ziglang/zig/issues/12012
572
- return error .SkipZigTest ;
573
- }
574
566
try testing .expect (shr (u8 , 0b11111111 , @as (usize , 3 )) == 0b00011111 );
575
567
try testing .expect (shr (u8 , 0b11111111 , @as (usize , 8 )) == 0 );
576
568
try testing .expect (shr (u8 , 0b11111111 , @as (usize , 9 )) == 0 );
@@ -612,10 +604,6 @@ pub fn rotr(comptime T: type, x: T, r: anytype) T {
612
604
}
613
605
614
606
test "rotr" {
615
- if (builtin .zig_backend == .stage2_llvm and builtin .cpu .arch == .aarch64 ) {
616
- // https://github.com/ziglang/zig/issues/12012
617
- return error .SkipZigTest ;
618
- }
619
607
try testing .expect (rotr (u0 , 0b0 , @as (usize , 3 )) == 0b0 );
620
608
try testing .expect (rotr (u5 , 0b00001 , @as (usize , 0 )) == 0b00001 );
621
609
try testing .expect (rotr (u6 , 0b000001 , @as (usize , 7 )) == 0b100000 );
@@ -656,10 +644,6 @@ pub fn rotl(comptime T: type, x: T, r: anytype) T {
656
644
}
657
645
658
646
test "rotl" {
659
- if (builtin .zig_backend == .stage2_llvm and builtin .cpu .arch == .aarch64 ) {
660
- // https://github.com/ziglang/zig/issues/12012
661
- return error .SkipZigTest ;
662
- }
663
647
try testing .expect (rotl (u0 , 0b0 , @as (usize , 3 )) == 0b0 );
664
648
try testing .expect (rotl (u5 , 0b00001 , @as (usize , 0 )) == 0b00001 );
665
649
try testing .expect (rotl (u6 , 0b000001 , @as (usize , 7 )) == 0b000010 );
0 commit comments