| author | |
| committer | |
| log | 3370d58956ecc744a004dff47b0437473f0ef7da |
| tree | 59a199f36315d8def6a80012c073e5ef75b9658d |
| parent | 75f8c04d6d8f7c0fafabad81ab8f1bf3e9377889 |
Closes #12013
Closes #10627
Closes #120276 files changed, 0 insertions(+), 48 deletions(-)
lib/std/fmt/parse_float.zig-5| ... | @@ -70,11 +70,6 @@ test "fmt.parseFloat" { | ... | @@ -70,11 +70,6 @@ test "fmt.parseFloat" { |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | test "fmt.parseFloat nan and inf" { | 72 | test "fmt.parseFloat nan and inf" { |
| 73 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { | ||
| 74 | // https://github.com/ziglang/zig/issues/12027 | ||
| 75 | return error.SkipZigTest; | ||
| 76 | } | ||
| 77 | |||
| 78 | inline for ([_]type{ f16, f32, f64, f128 }) |T| { | 73 | inline for ([_]type{ f16, f32, f64, f128 }) |T| { |
| 79 | const Z = std.meta.Int(.unsigned, @typeInfo(T).Float.bits); | 74 | const Z = std.meta.Int(.unsigned, @typeInfo(T).Float.bits); |
| 80 | 75 |
lib/std/math.zig-16| ... | @@ -523,10 +523,6 @@ pub fn shl(comptime T: type, a: T, shift_amt: anytype) T { | ... | @@ -523,10 +523,6 @@ pub fn shl(comptime T: type, a: T, shift_amt: anytype) T { |
| 523 | } | 523 | } |
| 524 | 524 | ||
| 525 | test "shl" { | 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 | try testing.expect(shl(u8, 0b11111111, @as(usize, 3)) == 0b11111000); | 526 | try testing.expect(shl(u8, 0b11111111, @as(usize, 3)) == 0b11111000); |
| 531 | try testing.expect(shl(u8, 0b11111111, @as(usize, 8)) == 0); | 527 | try testing.expect(shl(u8, 0b11111111, @as(usize, 8)) == 0); |
| 532 | try testing.expect(shl(u8, 0b11111111, @as(usize, 9)) == 0); | 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,10 +563,6 @@ pub fn shr(comptime T: type, a: T, shift_amt: anytype) T { |
| 567 | } | 563 | } |
| 568 | 564 | ||
| 569 | test "shr" { | 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 | try testing.expect(shr(u8, 0b11111111, @as(usize, 3)) == 0b00011111); | 566 | try testing.expect(shr(u8, 0b11111111, @as(usize, 3)) == 0b00011111); |
| 575 | try testing.expect(shr(u8, 0b11111111, @as(usize, 8)) == 0); | 567 | try testing.expect(shr(u8, 0b11111111, @as(usize, 8)) == 0); |
| 576 | try testing.expect(shr(u8, 0b11111111, @as(usize, 9)) == 0); | 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,10 +604,6 @@ pub fn rotr(comptime T: type, x: T, r: anytype) T { |
| 612 | } | 604 | } |
| 613 | 605 | ||
| 614 | test "rotr" { | 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 | try testing.expect(rotr(u0, 0b0, @as(usize, 3)) == 0b0); | 607 | try testing.expect(rotr(u0, 0b0, @as(usize, 3)) == 0b0); |
| 620 | try testing.expect(rotr(u5, 0b00001, @as(usize, 0)) == 0b00001); | 608 | try testing.expect(rotr(u5, 0b00001, @as(usize, 0)) == 0b00001); |
| 621 | try testing.expect(rotr(u6, 0b000001, @as(usize, 7)) == 0b100000); | 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,10 +644,6 @@ pub fn rotl(comptime T: type, x: T, r: anytype) T { |
| 656 | } | 644 | } |
| 657 | 645 | ||
| 658 | test "rotl" { | 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 | try testing.expect(rotl(u0, 0b0, @as(usize, 3)) == 0b0); | 647 | try testing.expect(rotl(u0, 0b0, @as(usize, 3)) == 0b0); |
| 664 | try testing.expect(rotl(u5, 0b00001, @as(usize, 0)) == 0b00001); | 648 | try testing.expect(rotl(u5, 0b00001, @as(usize, 0)) == 0b00001); |
| 665 | try testing.expect(rotl(u6, 0b000001, @as(usize, 7)) == 0b000010); | 649 | try testing.expect(rotl(u6, 0b000001, @as(usize, 7)) == 0b000010); |
lib/std/simd.zig-4| ... | @@ -191,10 +191,6 @@ pub fn extract( | ... | @@ -191,10 +191,6 @@ pub fn extract( |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | test "vector patterns" { | 193 | test "vector patterns" { |
| 194 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { | ||
| 195 | // https://github.com/ziglang/zig/issues/12012 | ||
| 196 | return error.SkipZigTest; | ||
| 197 | } | ||
| 198 | const base = @Vector(4, u32){ 10, 20, 30, 40 }; | 194 | const base = @Vector(4, u32){ 10, 20, 30, 40 }; |
| 199 | const other_base = @Vector(4, u32){ 55, 66, 77, 88 }; | 195 | const other_base = @Vector(4, u32){ 55, 66, 77, 88 }; |
| 200 | 196 |
test/behavior/atomics.zig-11| ... | @@ -151,11 +151,6 @@ test "cmpxchg on a global variable" { | ... | @@ -151,11 +151,6 @@ test "cmpxchg on a global variable" { |
| 151 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 151 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 152 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 152 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 153 | 153 | ||
| 154 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { | ||
| 155 | // https://github.com/ziglang/zig/issues/10627 | ||
| 156 | return error.SkipZigTest; | ||
| 157 | } | ||
| 158 | |||
| 159 | _ = @cmpxchgWeak(u32, &a_global_variable, 1234, 42, .Acquire, .Monotonic); | 154 | _ = @cmpxchgWeak(u32, &a_global_variable, 1234, 42, .Acquire, .Monotonic); |
| 160 | try expect(a_global_variable == 42); | 155 | try expect(a_global_variable == 42); |
| 161 | } | 156 | } |
| ... | @@ -218,12 +213,6 @@ test "atomicrmw with floats" { | ... | @@ -218,12 +213,6 @@ test "atomicrmw with floats" { |
| 218 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 213 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 219 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 214 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 220 | 215 | ||
| 221 | if ((builtin.zig_backend == .stage2_llvm or builtin.zig_backend == .stage2_c) and | ||
| 222 | builtin.cpu.arch == .aarch64) | ||
| 223 | { | ||
| 224 | // https://github.com/ziglang/zig/issues/10627 | ||
| 225 | return error.SkipZigTest; | ||
| 226 | } | ||
| 227 | try testAtomicRmwFloat(); | 216 | try testAtomicRmwFloat(); |
| 228 | comptime try testAtomicRmwFloat(); | 217 | comptime try testAtomicRmwFloat(); |
| 229 | } | 218 | } |
test/behavior/math.zig-6| ... | @@ -161,12 +161,6 @@ test "@ctz vectors" { | ... | @@ -161,12 +161,6 @@ test "@ctz vectors" { |
| 161 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 161 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 162 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | 162 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 163 | 163 | ||
| 164 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { | ||
| 165 | // This regressed with LLVM 14: | ||
| 166 | // https://github.com/ziglang/zig/issues/12013 | ||
| 167 | return error.SkipZigTest; | ||
| 168 | } | ||
| 169 | |||
| 170 | try testCtzVectors(); | 164 | try testCtzVectors(); |
| 171 | comptime try testCtzVectors(); | 165 | comptime try testCtzVectors(); |
| 172 | } | 166 | } |
test/behavior/vector.zig-6| ... | @@ -174,12 +174,6 @@ test "tuple to vector" { | ... | @@ -174,12 +174,6 @@ test "tuple to vector" { |
| 174 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 174 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 175 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | 175 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 176 | 176 | ||
| 177 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) { | ||
| 178 | // Regressed with LLVM 14: | ||
| 179 | // https://github.com/ziglang/zig/issues/12012 | ||
| 180 | return error.SkipZigTest; | ||
| 181 | } | ||
| 182 | |||
| 183 | const S = struct { | 177 | const S = struct { |
| 184 | fn doTheTest() !void { | 178 | fn doTheTest() !void { |
| 185 | const Vec3 = @Vector(3, i32); | 179 | const Vec3 = @Vector(3, i32); |