| author | |
| committer | |
| log | 821971106383e6e64e679c4402278399798c76eb |
| tree | 850e0955bdb170121a9c8470009c19acfa1d02e2 |
| parent | b1b155feacaa12a758ef4800cef021da7ae19040 |
See #16844
See #16845
See #16846
See #168489 files changed, 164 insertions(+), 2 deletions(-)
test/behavior/align.zig+6-2| ... | @@ -546,11 +546,15 @@ test "align(N) on functions" { | ... | @@ -546,11 +546,15 @@ test "align(N) on functions" { |
| 546 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 546 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 547 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 547 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 548 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 548 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 549 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | ||
| 550 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 549 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 551 | 550 | ||
| 552 | // This is not supported on MSVC | 551 | if (builtin.zig_backend == .stage2_c) { |
| 552 | // https://github.com/ziglang/zig/issues/16845 | ||
| 553 | return error.SkipZigTest; | ||
| 554 | } | ||
| 555 | |||
| 553 | if (builtin.zig_backend == .stage2_c and builtin.os.tag == .windows) { | 556 | if (builtin.zig_backend == .stage2_c and builtin.os.tag == .windows) { |
| 557 | // This is not supported on MSVC. | ||
| 554 | return error.SkipZigTest; | 558 | return error.SkipZigTest; |
| 555 | } | 559 | } |
| 556 | 560 |
test/behavior/atomics.zig+5| ... | @@ -243,6 +243,11 @@ test "atomicrmw with ints" { | ... | @@ -243,6 +243,11 @@ test "atomicrmw with ints" { |
| 243 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 243 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 244 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 244 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 245 | 245 | ||
| 246 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { | ||
| 247 | // https://github.com/ziglang/zig/issues/16846 | ||
| 248 | return error.SkipZigTest; | ||
| 249 | } | ||
| 250 | |||
| 246 | try testAtomicRmwInts(); | 251 | try testAtomicRmwInts(); |
| 247 | try comptime testAtomicRmwInts(); | 252 | try comptime testAtomicRmwInts(); |
| 248 | } | 253 | } |
test/behavior/cast.zig+5| ... | @@ -1157,6 +1157,11 @@ fn foobar(func: PFN_void) !void { | ... | @@ -1157,6 +1157,11 @@ fn foobar(func: PFN_void) !void { |
| 1157 | test "cast function with an opaque parameter" { | 1157 | test "cast function with an opaque parameter" { |
| 1158 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; | 1158 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; |
| 1159 | 1159 | ||
| 1160 | if (builtin.zig_backend == .stage2_c) { | ||
| 1161 | // https://github.com/ziglang/zig/issues/16845 | ||
| 1162 | return error.SkipZigTest; | ||
| 1163 | } | ||
| 1164 | |||
| 1160 | const Container = struct { | 1165 | const Container = struct { |
| 1161 | const Ctx = opaque {}; | 1166 | const Ctx = opaque {}; |
| 1162 | ctx: *Ctx, | 1167 | ctx: *Ctx, |
test/behavior/floatop.zig+50| ... | @@ -711,6 +711,18 @@ test "@floor f80" { | ... | @@ -711,6 +711,18 @@ test "@floor f80" { |
| 711 | return error.SkipZigTest; | 711 | return error.SkipZigTest; |
| 712 | } | 712 | } |
| 713 | 713 | ||
| 714 | if (builtin.zig_backend == .stage2_llvm and | ||
| 715 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 716 | { | ||
| 717 | // https://github.com/ziglang/zig/issues/16844 | ||
| 718 | return error.SkipZigTest; | ||
| 719 | } | ||
| 720 | |||
| 721 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { | ||
| 722 | // https://github.com/ziglang/zig/issues/16846 | ||
| 723 | return error.SkipZigTest; | ||
| 724 | } | ||
| 725 | |||
| 714 | try testFloorLegacy(f80, 12.0); | 726 | try testFloorLegacy(f80, 12.0); |
| 715 | try comptime testFloorLegacy(f80, 12.0); | 727 | try comptime testFloorLegacy(f80, 12.0); |
| 716 | } | 728 | } |
| ... | @@ -722,6 +734,18 @@ test "@floor f128" { | ... | @@ -722,6 +734,18 @@ test "@floor f128" { |
| 722 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 734 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 723 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 735 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 724 | 736 | ||
| 737 | if (builtin.zig_backend == .stage2_llvm and | ||
| 738 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 739 | { | ||
| 740 | // https://github.com/ziglang/zig/issues/16844 | ||
| 741 | return error.SkipZigTest; | ||
| 742 | } | ||
| 743 | |||
| 744 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isARM()) { | ||
| 745 | // https://github.com/ziglang/zig/issues/16848 | ||
| 746 | return error.SkipZigTest; | ||
| 747 | } | ||
| 748 | |||
| 725 | try testFloorLegacy(f128, 12.0); | 749 | try testFloorLegacy(f128, 12.0); |
| 726 | try comptime testFloorLegacy(f128, 12.0); | 750 | try comptime testFloorLegacy(f128, 12.0); |
| 727 | } | 751 | } |
| ... | @@ -807,6 +831,13 @@ test "@ceil f80" { | ... | @@ -807,6 +831,13 @@ test "@ceil f80" { |
| 807 | return error.SkipZigTest; | 831 | return error.SkipZigTest; |
| 808 | } | 832 | } |
| 809 | 833 | ||
| 834 | if (builtin.zig_backend == .stage2_llvm and | ||
| 835 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 836 | { | ||
| 837 | // https://github.com/ziglang/zig/issues/16844 | ||
| 838 | return error.SkipZigTest; | ||
| 839 | } | ||
| 840 | |||
| 810 | try testCeilLegacy(f80, 12.0); | 841 | try testCeilLegacy(f80, 12.0); |
| 811 | try comptime testCeilLegacy(f80, 12.0); | 842 | try comptime testCeilLegacy(f80, 12.0); |
| 812 | } | 843 | } |
| ... | @@ -818,6 +849,13 @@ test "@ceil f128" { | ... | @@ -818,6 +849,13 @@ test "@ceil f128" { |
| 818 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 849 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 819 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 850 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 820 | 851 | ||
| 852 | if (builtin.zig_backend == .stage2_llvm and | ||
| 853 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 854 | { | ||
| 855 | // https://github.com/ziglang/zig/issues/16844 | ||
| 856 | return error.SkipZigTest; | ||
| 857 | } | ||
| 858 | |||
| 821 | try testCeilLegacy(f128, 12.0); | 859 | try testCeilLegacy(f128, 12.0); |
| 822 | try comptime testCeilLegacy(f128, 12.0); | 860 | try comptime testCeilLegacy(f128, 12.0); |
| 823 | } | 861 | } |
| ... | @@ -877,6 +915,11 @@ test "another, possibly redundant, @trunc test" { | ... | @@ -877,6 +915,11 @@ test "another, possibly redundant, @trunc test" { |
| 877 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | 915 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 878 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 916 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 879 | 917 | ||
| 918 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { | ||
| 919 | // https://github.com/ziglang/zig/issues/16846 | ||
| 920 | return error.SkipZigTest; | ||
| 921 | } | ||
| 922 | |||
| 880 | try testTruncLegacy(f64, 12.0); | 923 | try testTruncLegacy(f64, 12.0); |
| 881 | try comptime testTruncLegacy(f64, 12.0); | 924 | try comptime testTruncLegacy(f64, 12.0); |
| 882 | try testTruncLegacy(f32, 12.0); | 925 | try testTruncLegacy(f32, 12.0); |
| ... | @@ -919,6 +962,13 @@ test "@trunc f128" { | ... | @@ -919,6 +962,13 @@ test "@trunc f128" { |
| 919 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 962 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 920 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 963 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 921 | 964 | ||
| 965 | if (builtin.zig_backend == .stage2_llvm and | ||
| 966 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 967 | { | ||
| 968 | // https://github.com/ziglang/zig/issues/16844 | ||
| 969 | return error.SkipZigTest; | ||
| 970 | } | ||
| 971 | |||
| 922 | try testTruncLegacy(f128, 12.0); | 972 | try testTruncLegacy(f128, 12.0); |
| 923 | try comptime testTruncLegacy(f128, 12.0); | 973 | try comptime testTruncLegacy(f128, 12.0); |
| 924 | } | 974 | } |
test/behavior/math.zig+38| ... | @@ -417,6 +417,11 @@ test "division" { | ... | @@ -417,6 +417,11 @@ test "division" { |
| 417 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 417 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 418 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 418 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 419 | 419 | ||
| 420 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { | ||
| 421 | // https://github.com/ziglang/zig/issues/16846 | ||
| 422 | return error.SkipZigTest; | ||
| 423 | } | ||
| 424 | |||
| 420 | try testDivision(); | 425 | try testDivision(); |
| 421 | try comptime testDivision(); | 426 | try comptime testDivision(); |
| 422 | } | 427 | } |
| ... | @@ -591,6 +596,11 @@ test "unsigned 64-bit division" { | ... | @@ -591,6 +596,11 @@ test "unsigned 64-bit division" { |
| 591 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 596 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 592 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 597 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 593 | 598 | ||
| 599 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { | ||
| 600 | // https://github.com/ziglang/zig/issues/16846 | ||
| 601 | return error.SkipZigTest; | ||
| 602 | } | ||
| 603 | |||
| 594 | try test_u64_div(); | 604 | try test_u64_div(); |
| 595 | try comptime test_u64_div(); | 605 | try comptime test_u64_div(); |
| 596 | } | 606 | } |
| ... | @@ -1350,6 +1360,13 @@ test "float remainder division using @rem" { | ... | @@ -1350,6 +1360,13 @@ test "float remainder division using @rem" { |
| 1350 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 1360 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 1351 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | 1361 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 1352 | 1362 | ||
| 1363 | if (builtin.zig_backend == .stage2_llvm and | ||
| 1364 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 1365 | { | ||
| 1366 | // https://github.com/ziglang/zig/issues/16844 | ||
| 1367 | return error.SkipZigTest; | ||
| 1368 | } | ||
| 1369 | |||
| 1353 | try comptime frem(f16); | 1370 | try comptime frem(f16); |
| 1354 | try comptime frem(f32); | 1371 | try comptime frem(f32); |
| 1355 | try comptime frem(f64); | 1372 | try comptime frem(f64); |
| ... | @@ -1393,6 +1410,13 @@ test "float modulo division using @mod" { | ... | @@ -1393,6 +1410,13 @@ test "float modulo division using @mod" { |
| 1393 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 1410 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1394 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 1411 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 1395 | 1412 | ||
| 1413 | if (builtin.zig_backend == .stage2_llvm and | ||
| 1414 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 1415 | { | ||
| 1416 | // https://github.com/ziglang/zig/issues/16844 | ||
| 1417 | return error.SkipZigTest; | ||
| 1418 | } | ||
| 1419 | |||
| 1396 | try comptime fmod(f16); | 1420 | try comptime fmod(f16); |
| 1397 | try comptime fmod(f32); | 1421 | try comptime fmod(f32); |
| 1398 | try comptime fmod(f64); | 1422 | try comptime fmod(f64); |
| ... | @@ -1456,6 +1480,13 @@ test "@round f80" { | ... | @@ -1456,6 +1480,13 @@ test "@round f80" { |
| 1456 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 1480 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 1457 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 1481 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 1458 | 1482 | ||
| 1483 | if (builtin.zig_backend == .stage2_llvm and | ||
| 1484 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 1485 | { | ||
| 1486 | // https://github.com/ziglang/zig/issues/16844 | ||
| 1487 | return error.SkipZigTest; | ||
| 1488 | } | ||
| 1489 | |||
| 1459 | try testRound(f80, 12.0); | 1490 | try testRound(f80, 12.0); |
| 1460 | try comptime testRound(f80, 12.0); | 1491 | try comptime testRound(f80, 12.0); |
| 1461 | } | 1492 | } |
| ... | @@ -1468,6 +1499,13 @@ test "@round f128" { | ... | @@ -1468,6 +1499,13 @@ test "@round f128" { |
| 1468 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 1499 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 1469 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 1500 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 1470 | 1501 | ||
| 1502 | if (builtin.zig_backend == .stage2_llvm and | ||
| 1503 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 1504 | { | ||
| 1505 | // https://github.com/ziglang/zig/issues/16844 | ||
| 1506 | return error.SkipZigTest; | ||
| 1507 | } | ||
| 1508 | |||
| 1471 | try testRound(f128, 12.0); | 1509 | try testRound(f128, 12.0); |
| 1472 | try comptime testRound(f128, 12.0); | 1510 | try comptime testRound(f128, 12.0); |
| 1473 | } | 1511 | } |
test/behavior/muladd.zig+38| ... | @@ -57,6 +57,18 @@ test "@mulAdd f80" { | ... | @@ -57,6 +57,18 @@ test "@mulAdd f80" { |
| 57 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 57 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 58 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 58 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 59 | 59 | ||
| 60 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isARM()) { | ||
| 61 | // https://github.com/ziglang/zig/issues/16848 | ||
| 62 | return error.SkipZigTest; | ||
| 63 | } | ||
| 64 | |||
| 65 | if (builtin.zig_backend == .stage2_llvm and | ||
| 66 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 67 | { | ||
| 68 | // https://github.com/ziglang/zig/issues/16844 | ||
| 69 | return error.SkipZigTest; | ||
| 70 | } | ||
| 71 | |||
| 60 | try comptime testMulAdd80(); | 72 | try comptime testMulAdd80(); |
| 61 | try testMulAdd80(); | 73 | try testMulAdd80(); |
| 62 | } | 74 | } |
| ... | @@ -76,6 +88,18 @@ test "@mulAdd f128" { | ... | @@ -76,6 +88,18 @@ test "@mulAdd f128" { |
| 76 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 88 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 77 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 89 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 78 | 90 | ||
| 91 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isARM()) { | ||
| 92 | // https://github.com/ziglang/zig/issues/16848 | ||
| 93 | return error.SkipZigTest; | ||
| 94 | } | ||
| 95 | |||
| 96 | if (builtin.zig_backend == .stage2_llvm and | ||
| 97 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 98 | { | ||
| 99 | // https://github.com/ziglang/zig/issues/16844 | ||
| 100 | return error.SkipZigTest; | ||
| 101 | } | ||
| 102 | |||
| 79 | try comptime testMulAdd128(); | 103 | try comptime testMulAdd128(); |
| 80 | try testMulAdd128(); | 104 | try testMulAdd128(); |
| 81 | } | 105 | } |
| ... | @@ -179,6 +203,13 @@ test "vector f80" { | ... | @@ -179,6 +203,13 @@ test "vector f80" { |
| 179 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 203 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 180 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 204 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 181 | 205 | ||
| 206 | if (builtin.zig_backend == .stage2_llvm and | ||
| 207 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 208 | { | ||
| 209 | // https://github.com/ziglang/zig/issues/16844 | ||
| 210 | return error.SkipZigTest; | ||
| 211 | } | ||
| 212 | |||
| 182 | try comptime vector80(); | 213 | try comptime vector80(); |
| 183 | try vector80(); | 214 | try vector80(); |
| 184 | } | 215 | } |
| ... | @@ -204,6 +235,13 @@ test "vector f128" { | ... | @@ -204,6 +235,13 @@ test "vector f128" { |
| 204 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 235 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 205 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 236 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 206 | 237 | ||
| 238 | if (builtin.zig_backend == .stage2_llvm and | ||
| 239 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 240 | { | ||
| 241 | // https://github.com/ziglang/zig/issues/16844 | ||
| 242 | return error.SkipZigTest; | ||
| 243 | } | ||
| 244 | |||
| 207 | try comptime vector128(); | 245 | try comptime vector128(); |
| 208 | try vector128(); | 246 | try vector128(); |
| 209 | } | 247 | } |
test/behavior/usingnamespace/import_segregation.zig+10| ... | @@ -7,6 +7,16 @@ usingnamespace @import("bar.zig"); | ... | @@ -7,6 +7,16 @@ usingnamespace @import("bar.zig"); |
| 7 | test "no clobbering happened" { | 7 | test "no clobbering happened" { |
| 8 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 8 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 9 | 9 | ||
| 10 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isMIPS()) { | ||
| 11 | // https://github.com/ziglang/zig/issues/16846 | ||
| 12 | return error.SkipZigTest; | ||
| 13 | } | ||
| 14 | |||
| 15 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isARM()) { | ||
| 16 | // https://github.com/ziglang/zig/issues/16848 | ||
| 17 | return error.SkipZigTest; | ||
| 18 | } | ||
| 19 | |||
| 10 | @This().foo_function(); | 20 | @This().foo_function(); |
| 11 | @This().bar_function(); | 21 | @This().bar_function(); |
| 12 | try expect(@This().saw_foo_function); | 22 | try expect(@This().saw_foo_function); |
test/behavior/vector.zig+7| ... | @@ -104,6 +104,13 @@ test "vector float operators" { | ... | @@ -104,6 +104,13 @@ test "vector float operators" { |
| 104 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 104 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 105 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; | 105 | if (builtin.zig_backend == .stage2_c and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest; |
| 106 | 106 | ||
| 107 | if (builtin.zig_backend == .stage2_llvm and | ||
| 108 | (builtin.cpu.arch == .powerpc64le or builtin.cpu.arch == .aarch64)) | ||
| 109 | { | ||
| 110 | // https://github.com/ziglang/zig/issues/16844 | ||
| 111 | return error.SkipZigTest; | ||
| 112 | } | ||
| 113 | |||
| 107 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { | 114 | inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| { |
| 108 | const S = struct { | 115 | const S = struct { |
| 109 | fn doTheTest() !void { | 116 | fn doTheTest() !void { |
test/behavior/widening.zig+5| ... | @@ -66,6 +66,11 @@ test "float widening f16 to f128" { | ... | @@ -66,6 +66,11 @@ test "float widening f16 to f128" { |
| 66 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 66 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 67 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | 67 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 68 | 68 | ||
| 69 | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.isARM()) { | ||
| 70 | // https://github.com/ziglang/zig/issues/16848 | ||
| 71 | return error.SkipZigTest; | ||
| 72 | } | ||
| 73 | |||
| 69 | var x: f16 = 12.34; | 74 | var x: f16 = 12.34; |
| 70 | var y: f128 = x; | 75 | var y: f128 = x; |
| 71 | try expect(x == y); | 76 | try expect(x == y); |