| author | |
| committer | |
| log | 1af476d5d8568dac9d62983e3b619877a8fa22ac |
| tree | a879f7ee225f0eda76389c1dd999a3a841d32481 |
| parent | cc022047c338229549d6464098e6e7bff63097b0 |
| signature |
closes https://github.com/ziglang/zig/issues/9660
closes https://github.com/ziglang/zig/issues/21050
closes https://github.com/ziglang/zig/issues/21090
closes https://github.com/ziglang/zig/issues/2109114 files changed, 6 insertions(+), 71 deletions(-)
test/behavior/align.zig-1| ... | ... | @@ -317,7 +317,6 @@ test "@alignCast functions" { |
| 317 | 317 | |
| 318 | 318 | // function alignment is a compile error on wasm |
| 319 | 319 | if (native_arch.isWasm()) return error.SkipZigTest; |
| 320 | if (native_arch.isThumb()) return error.SkipZigTest; | |
| 321 | 320 | |
| 322 | 321 | try expect(fnExpectsOnly1(simple4) == 0x19); |
| 323 | 322 | } |
test/behavior/asm.zig+1-4| ... | ... | @@ -246,12 +246,9 @@ test "extern output types (x86_64)" { |
| 246 | 246 | } |
| 247 | 247 | } |
| 248 | 248 | |
| 249 | test "riscv abi register aliases as clobbers" { | |
| 249 | test "abi register aliases as clobbers (RISC-V)" { | |
| 250 | 250 | if (!builtin.target.cpu.arch.isRISCV()) return error.SkipZigTest; |
| 251 | 251 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 252 | if (builtin.zig_backend == .stage2_c and builtin.os.tag == .windows) return error.SkipZigTest; | |
| 253 | ||
| 254 | if (!comptime builtin.cpu.arch.isRISCV()) return error.SkipZigTest; | |
| 255 | 252 | |
| 256 | 253 | // Verify that ABI alias names are accepted as clobbers for RISC-V. |
| 257 | 254 | asm volatile ("" ::: .{ .ra = true, .sp = true, .gp = true, .tp = true }); |
test/behavior/basic.zig+1-5| ... | ... | @@ -1407,11 +1407,7 @@ test "allocation and looping over 3-byte integer" { |
| 1407 | 1407 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1408 | 1408 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1409 | 1409 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1410 | ||
| 1411 | if (builtin.zig_backend == .stage2_llvm and builtin.os.tag.isDarwin()) { | |
| 1412 | return error.SkipZigTest; // TODO | |
| 1413 | } | |
| 1414 | if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO | |
| 1410 | if (builtin.zig_backend == .stage2_llvm and builtin.os.tag.isDarwin()) return error.SkipZigTest; // TODO | |
| 1415 | 1411 | |
| 1416 | 1412 | try expect(@sizeOf(u24) == 4); |
| 1417 | 1413 | try expect(@sizeOf([1]u24) == 4); |
test/behavior/field_parent_ptr.zig-1| ... | ... | @@ -1757,7 +1757,6 @@ test "@fieldParentPtr packed union" { |
| 1757 | 1757 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1758 | 1758 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1759 | 1759 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 1760 | if (builtin.target.cpu.arch.endian() == .big) return error.SkipZigTest; // TODO | |
| 1761 | 1760 | |
| 1762 | 1761 | const C = packed union { |
| 1763 | 1762 | a: packed struct(u32) { |
test/behavior/floatop.zig+4-10| ... | ... | @@ -136,7 +136,6 @@ test "cmp f32" { |
| 136 | 136 | test "cmp f64" { |
| 137 | 137 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 138 | 138 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 139 | if (builtin.cpu.arch.isArm() and builtin.target.abi.float() == .soft) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21234 | |
| 140 | 139 | |
| 141 | 140 | try testCmp(f64); |
| 142 | 141 | try comptime testCmp(f64); |
| ... | ... | @@ -155,7 +154,6 @@ test "cmp f128" { |
| 155 | 154 | test "cmp f80/c_longdouble" { |
| 156 | 155 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 157 | 156 | if (builtin.zig_backend == .stage2_c and builtin.cpu.arch.isArm()) return error.SkipZigTest; |
| 158 | if (builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 159 | 157 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 160 | 158 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 161 | 159 | |
| ... | ... | @@ -223,8 +221,7 @@ test "vector cmp f16" { |
| 223 | 221 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 224 | 222 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 225 | 223 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 226 | if (builtin.cpu.arch.isArm()) return error.SkipZigTest; | |
| 227 | if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; | |
| 224 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isArm()) return error.SkipZigTest; | |
| 228 | 225 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest; |
| 229 | 226 | |
| 230 | 227 | try testCmpVector(f16); |
| ... | ... | @@ -236,8 +233,8 @@ test "vector cmp f32" { |
| 236 | 233 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 237 | 234 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 238 | 235 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 239 | if (builtin.cpu.arch.isArm()) return error.SkipZigTest; | |
| 240 | if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; | |
| 236 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isArm()) return error.SkipZigTest; | |
| 237 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; | |
| 241 | 238 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest; |
| 242 | 239 | |
| 243 | 240 | try testCmpVector(f32); |
| ... | ... | @@ -248,8 +245,6 @@ test "vector cmp f64" { |
| 248 | 245 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 249 | 246 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 250 | 247 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 251 | if (builtin.cpu.arch.isArm()) return error.SkipZigTest; | |
| 252 | if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; | |
| 253 | 248 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest; |
| 254 | 249 | |
| 255 | 250 | try testCmpVector(f64); |
| ... | ... | @@ -262,8 +257,7 @@ test "vector cmp f128" { |
| 262 | 257 | if (builtin.zig_backend == .stage2_c and builtin.cpu.arch.isArm()) return error.SkipZigTest; |
| 263 | 258 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 264 | 259 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 265 | if (builtin.cpu.arch.isArm()) return error.SkipZigTest; | |
| 266 | if (builtin.cpu.arch.isPowerPC64()) return error.SkipZigTest; | |
| 260 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .powerpc64le) return error.SkipZigTest; | |
| 267 | 261 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .hexagon) return error.SkipZigTest; |
| 268 | 262 | |
| 269 | 263 | try testCmpVector(f128); |
test/behavior/generics.zig-4| ... | ... | @@ -305,8 +305,6 @@ test "generic function instantiation non-duplicates" { |
| 305 | 305 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 306 | 306 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 307 | 307 | |
| 308 | if (builtin.os.tag == .wasi) return error.SkipZigTest; | |
| 309 | ||
| 310 | 308 | const S = struct { |
| 311 | 309 | fn copy(comptime T: type, dest: []T, source: []const T) void { |
| 312 | 310 | @export(&foo, .{ .name = "test_generic_instantiation_non_dupe" }); |
| ... | ... | @@ -323,8 +321,6 @@ test "generic function instantiation non-duplicates" { |
| 323 | 321 | test "generic instantiation of tagged union with only one field" { |
| 324 | 322 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 325 | 323 | |
| 326 | if (builtin.os.tag == .wasi) return error.SkipZigTest; | |
| 327 | ||
| 328 | 324 | const S = struct { |
| 329 | 325 | const U = union(enum) { |
| 330 | 326 | s: []const u8, |
test/behavior/math.zig-2| ... | ... | @@ -2425,7 +2425,6 @@ test "runtime comparison to NaN is comptime-known" { |
| 2425 | 2425 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 2426 | 2426 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 2427 | 2427 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 2428 | if (builtin.cpu.arch.isArm() and builtin.target.abi.float() == .soft) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21234 | |
| 2429 | 2428 | |
| 2430 | 2429 | const S = struct { |
| 2431 | 2430 | fn doTheTest(comptime F: type, x: F) void { |
| ... | ... | @@ -2454,7 +2453,6 @@ test "runtime int comparison to inf is comptime-known" { |
| 2454 | 2453 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 2455 | 2454 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 2456 | 2455 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 2457 | if (builtin.cpu.arch.isArm() and builtin.target.abi.float() == .soft) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21234 | |
| 2458 | 2456 | |
| 2459 | 2457 | const S = struct { |
| 2460 | 2458 | fn doTheTest(comptime F: type, x: u32) void { |
test/behavior/maximum_minimum.zig-2| ... | ... | @@ -138,8 +138,6 @@ test "@min/max for floats" { |
| 138 | 138 | }; |
| 139 | 139 | |
| 140 | 140 | inline for (.{ f16, f32, f64, f80, f128, c_longdouble }) |T| { |
| 141 | if (T == c_longdouble and builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21090 | |
| 142 | ||
| 143 | 141 | try S.doTheTest(T); |
| 144 | 142 | try comptime S.doTheTest(T); |
| 145 | 143 | } |
test/behavior/packed-struct.zig-1| ... | ... | @@ -1196,7 +1196,6 @@ test "packed struct with signed field" { |
| 1196 | 1196 | |
| 1197 | 1197 | test "assign packed struct initialized with RLS to packed struct literal field" { |
| 1198 | 1198 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 1199 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isWasm()) return error.SkipZigTest; | |
| 1200 | 1199 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1201 | 1200 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1202 | 1201 |
test/behavior/saturating_arithmetic.zig-10| ... | ... | @@ -147,11 +147,6 @@ test "saturating multiplication <= 32 bits" { |
| 147 | 147 | if (builtin.zig_backend == .stage2_c and builtin.cpu.arch.isArm()) return error.SkipZigTest; |
| 148 | 148 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 149 | 149 | |
| 150 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isWasm()) { | |
| 151 | // https://github.com/ziglang/zig/issues/9660 | |
| 152 | return error.SkipZigTest; | |
| 153 | } | |
| 154 | ||
| 155 | 150 | try testSatMul(u8, 0, maxInt(u8), 0); |
| 156 | 151 | try testSatMul(u8, 1 << 7, 1 << 7, maxInt(u8)); |
| 157 | 152 | try testSatMul(u8, maxInt(u8) - 1, 2, maxInt(u8)); |
| ... | ... | @@ -246,11 +241,6 @@ test "saturating multiplication" { |
| 246 | 241 | if (builtin.zig_backend == .stage2_c and builtin.cpu.arch.isArm()) return error.SkipZigTest; |
| 247 | 242 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 248 | 243 | |
| 249 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isWasm()) { | |
| 250 | // https://github.com/ziglang/zig/issues/9660 | |
| 251 | return error.SkipZigTest; | |
| 252 | } | |
| 253 | ||
| 254 | 244 | const S = struct { |
| 255 | 245 | fn doTheTest() !void { |
| 256 | 246 | try testSatMul(i8, -3, 10, -30); |
test/behavior/struct.zig-2| ... | ... | @@ -404,7 +404,6 @@ test "packed struct 24bits" { |
| 404 | 404 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 405 | 405 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 406 | 406 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 407 | if (builtin.cpu.arch.isArm()) return error.SkipZigTest; // TODO | |
| 408 | 407 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 409 | 408 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; // TODO |
| 410 | 409 | |
| ... | ... | @@ -921,7 +920,6 @@ test "tuple assigned to variable" { |
| 921 | 920 | |
| 922 | 921 | test "comptime struct field" { |
| 923 | 922 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 924 | if (builtin.cpu.arch.isArm()) return error.SkipZigTest; // TODO | |
| 925 | 923 | |
| 926 | 924 | const T = struct { |
| 927 | 925 | a: i32, |
test/behavior/union.zig-3| ... | ... | @@ -1592,7 +1592,6 @@ test "memset packed union" { |
| 1592 | 1592 | |
| 1593 | 1593 | try comptime S.doTheTest(); |
| 1594 | 1594 | |
| 1595 | if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO | |
| 1596 | 1595 | try S.doTheTest(); |
| 1597 | 1596 | } |
| 1598 | 1597 | |
| ... | ... | @@ -1750,8 +1749,6 @@ test "reinterpret packed union" { |
| 1750 | 1749 | try comptime S.doTheTest(); |
| 1751 | 1750 | |
| 1752 | 1751 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 1753 | if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO | |
| 1754 | if (builtin.cpu.arch.endian() == .big) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050 | |
| 1755 | 1752 | try S.doTheTest(); |
| 1756 | 1753 | } |
| 1757 | 1754 |
test/behavior/vector.zig-23| ... | ... | @@ -7,7 +7,6 @@ const expect = std.testing.expect; |
| 7 | 7 | const expectEqual = std.testing.expectEqual; |
| 8 | 8 | |
| 9 | 9 | test "implicit cast vector to array - bool" { |
| 10 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 11 | 10 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 12 | 11 | |
| 13 | 12 | const S = struct { |
| ... | ... | @@ -622,11 +621,6 @@ test "vector bitwise not operator" { |
| 622 | 621 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 623 | 622 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 624 | 623 | |
| 625 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) { | |
| 626 | // https://github.com/ziglang/zig/issues/24061 | |
| 627 | return error.SkipZigTest; | |
| 628 | } | |
| 629 | ||
| 630 | 624 | const S = struct { |
| 631 | 625 | fn doTheTestNot(comptime T: type, x: @Vector(4, T)) !void { |
| 632 | 626 | const y = ~x; |
| ... | ... | @@ -660,11 +654,6 @@ test "vector boolean not operator" { |
| 660 | 654 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 661 | 655 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 662 | 656 | |
| 663 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) { | |
| 664 | // https://github.com/ziglang/zig/issues/24061 | |
| 665 | return error.SkipZigTest; | |
| 666 | } | |
| 667 | ||
| 668 | 657 | const S = struct { |
| 669 | 658 | fn doTheTestNot(comptime T: type, x: @Vector(4, T)) !void { |
| 670 | 659 | const y = !x; |
| ... | ... | @@ -759,7 +748,6 @@ test "vector reduce operation" { |
| 759 | 748 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 760 | 749 | if (builtin.zig_backend == .stage2_c and builtin.cpu.arch.isArm()) return error.SkipZigTest; |
| 761 | 750 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 762 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21091 | |
| 763 | 751 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isSPARC()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23719 |
| 764 | 752 | |
| 765 | 753 | const S = struct { |
| ... | ... | @@ -1096,9 +1084,6 @@ test "saturating multiplication" { |
| 1096 | 1084 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1097 | 1085 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1098 | 1086 | |
| 1099 | // TODO: once #9660 has been solved, remove this line | |
| 1100 | if (builtin.target.cpu.arch.isWasm()) return error.SkipZigTest; | |
| 1101 | ||
| 1102 | 1087 | const S = struct { |
| 1103 | 1088 | fn doTheTest() !void { |
| 1104 | 1089 | // Broken out to avoid https://github.com/ziglang/zig/issues/11251 |
| ... | ... | @@ -1165,7 +1150,6 @@ test "@addWithOverflow" { |
| 1165 | 1150 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1166 | 1151 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1167 | 1152 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1168 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1169 | 1153 | |
| 1170 | 1154 | const S = struct { |
| 1171 | 1155 | fn doTheTest() !void { |
| ... | ... | @@ -1213,7 +1197,6 @@ test "@subWithOverflow" { |
| 1213 | 1197 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1214 | 1198 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1215 | 1199 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 1216 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1217 | 1200 | |
| 1218 | 1201 | const S = struct { |
| 1219 | 1202 | fn doTheTest() !void { |
| ... | ... | @@ -1244,7 +1227,6 @@ test "@mulWithOverflow" { |
| 1244 | 1227 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 1245 | 1228 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1246 | 1229 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1247 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1248 | 1230 | |
| 1249 | 1231 | const S = struct { |
| 1250 | 1232 | fn doTheTest() !void { |
| ... | ... | @@ -1265,7 +1247,6 @@ test "@shlWithOverflow" { |
| 1265 | 1247 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 1266 | 1248 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1267 | 1249 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1268 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1269 | 1250 | |
| 1270 | 1251 | const S = struct { |
| 1271 | 1252 | fn doTheTest() !void { |
| ... | ... | @@ -1347,7 +1328,6 @@ test "byte vector initialized in inline function" { |
| 1347 | 1328 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 1348 | 1329 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1349 | 1330 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1350 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1351 | 1331 | if (builtin.cpu.arch == .hexagon and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; |
| 1352 | 1332 | |
| 1353 | 1333 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64 and comptime builtin.cpu.has(.x86, .avx512f)) { |
| ... | ... | @@ -1463,7 +1443,6 @@ test "store packed vector element" { |
| 1463 | 1443 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1464 | 1444 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 1465 | 1445 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1466 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1467 | 1446 | |
| 1468 | 1447 | var v = @Vector(4, u1){ 1, 1, 1, 1 }; |
| 1469 | 1448 | try expectEqual(@Vector(4, u1){ 1, 1, 1, 1 }, v); |
| ... | ... | @@ -1496,7 +1475,6 @@ test "store vector with memset" { |
| 1496 | 1475 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; // TODO |
| 1497 | 1476 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 1498 | 1477 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 1499 | if (builtin.cpu.arch == .aarch64_be and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; | |
| 1500 | 1478 | |
| 1501 | 1479 | var a: [5]@Vector(2, i1) = undefined; |
| 1502 | 1480 | var b: [5]@Vector(2, u2) = undefined; |
| ... | ... | @@ -1596,7 +1574,6 @@ test "bitcast to vector with different child type" { |
| 1596 | 1574 | } |
| 1597 | 1575 | }; |
| 1598 | 1576 | |
| 1599 | // Originally reported at https://github.com/ziglang/zig/issues/8184 | |
| 1600 | 1577 | try S.doTheTest(); |
| 1601 | 1578 | try comptime S.doTheTest(); |
| 1602 | 1579 | } |
test/behavior/wrapping_arithmetic.zig-3| ... | ... | @@ -82,9 +82,6 @@ test "wrapping multiplication" { |
| 82 | 82 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 83 | 83 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| 84 | 84 | |
| 85 | // TODO: once #9660 has been solved, remove this line | |
| 86 | if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; | |
| 87 | ||
| 88 | 85 | const S = struct { |
| 89 | 86 | fn doTheTest() !void { |
| 90 | 87 | try testWrapMul(i8, -3, 10, -30); |