| author | |
| committer | |
| log | e3447e67fe41bfb56ab24fb2758966d34ed5cd89 |
| tree | 1f4899499854fc158444e92bf31f73c91e90ac5c |
| parent | 8d6536b50cfd43c07c6f0264171db6ecf8e80be5 |
Closes #33384 files changed, 3 insertions(+), 25 deletions(-)
test/stage1/behavior/atomics.zig+3-1| ... | @@ -146,7 +146,9 @@ fn testAtomicStore() void { | ... | @@ -146,7 +146,9 @@ fn testAtomicStore() void { |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | test "atomicrmw with floats" { | 148 | test "atomicrmw with floats" { |
| 149 | if (builtin.arch == .aarch64 or builtin.arch == .arm) | 149 | if (builtin.arch == .aarch64 or |
| 150 | builtin.arch == .arm or | ||
| 151 | builtin.arch == .riscv64) | ||
| 150 | return; | 152 | return; |
| 151 | testAtomicRmwFloat(); | 153 | testAtomicRmwFloat(); |
| 152 | } | 154 | } |
test/stage1/behavior/cast.zig-4| ... | @@ -261,10 +261,6 @@ fn testPeerErrorAndArray2(x: u8) anyerror![]const u8 { | ... | @@ -261,10 +261,6 @@ fn testPeerErrorAndArray2(x: u8) anyerror![]const u8 { |
| 261 | } | 261 | } |
| 262 | 262 | ||
| 263 | test "@floatToInt" { | 263 | test "@floatToInt" { |
| 264 | if (@import("builtin").arch == .riscv64) { | ||
| 265 | // TODO: https://github.com/ziglang/zig/issues/3338 | ||
| 266 | return error.SkipZigTest; | ||
| 267 | } | ||
| 268 | testFloatToInts(); | 264 | testFloatToInts(); |
| 269 | comptime testFloatToInts(); | 265 | comptime testFloatToInts(); |
| 270 | } | 266 | } |
test/stage1/behavior/math.zig-12| ... | @@ -7,10 +7,6 @@ const minInt = std.math.minInt; | ... | @@ -7,10 +7,6 @@ const minInt = std.math.minInt; |
| 7 | const mem = std.mem; | 7 | const mem = std.mem; |
| 8 | 8 | ||
| 9 | test "division" { | 9 | test "division" { |
| 10 | if (@import("builtin").arch == .riscv64) { | ||
| 11 | // TODO: https://github.com/ziglang/zig/issues/3338 | ||
| 12 | return error.SkipZigTest; | ||
| 13 | } | ||
| 14 | testDivision(); | 10 | testDivision(); |
| 15 | comptime testDivision(); | 11 | comptime testDivision(); |
| 16 | } | 12 | } |
| ... | @@ -578,10 +574,6 @@ fn remdiv(comptime T: type) void { | ... | @@ -578,10 +574,6 @@ fn remdiv(comptime T: type) void { |
| 578 | } | 574 | } |
| 579 | 575 | ||
| 580 | test "@sqrt" { | 576 | test "@sqrt" { |
| 581 | if (@import("builtin").arch == .riscv64) { | ||
| 582 | // TODO: https://github.com/ziglang/zig/issues/3338 | ||
| 583 | return error.SkipZigTest; | ||
| 584 | } | ||
| 585 | testSqrt(f64, 12.0); | 577 | testSqrt(f64, 12.0); |
| 586 | comptime testSqrt(f64, 12.0); | 578 | comptime testSqrt(f64, 12.0); |
| 587 | testSqrt(f32, 13.0); | 579 | testSqrt(f32, 13.0); |
| ... | @@ -627,10 +619,6 @@ test "vector integer addition" { | ... | @@ -627,10 +619,6 @@ test "vector integer addition" { |
| 627 | } | 619 | } |
| 628 | 620 | ||
| 629 | test "NaN comparison" { | 621 | test "NaN comparison" { |
| 630 | if (@import("builtin").arch == .riscv64) { | ||
| 631 | // TODO: https://github.com/ziglang/zig/issues/3338 | ||
| 632 | return error.SkipZigTest; | ||
| 633 | } | ||
| 634 | if (std.Target.current.isWindows()) { | 622 | if (std.Target.current.isWindows()) { |
| 635 | // TODO https://github.com/ziglang/zig/issues/508 | 623 | // TODO https://github.com/ziglang/zig/issues/508 |
| 636 | return error.SkipZigTest; | 624 | return error.SkipZigTest; |
test/stage1/behavior/widening.zig-8| ... | @@ -19,10 +19,6 @@ test "implicit unsigned integer to signed integer" { | ... | @@ -19,10 +19,6 @@ test "implicit unsigned integer to signed integer" { |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | test "float widening" { | 21 | test "float widening" { |
| 22 | if (@import("builtin").arch == .riscv64) { | ||
| 23 | // TODO: | ||
| 24 | return error.SkipZigTest; | ||
| 25 | } | ||
| 26 | var a: f16 = 12.34; | 22 | var a: f16 = 12.34; |
| 27 | var b: f32 = a; | 23 | var b: f32 = a; |
| 28 | var c: f64 = b; | 24 | var c: f64 = b; |
| ... | @@ -35,10 +31,6 @@ test "float widening" { | ... | @@ -35,10 +31,6 @@ test "float widening" { |
| 35 | test "float widening f16 to f128" { | 31 | test "float widening f16 to f128" { |
| 36 | // TODO https://github.com/ziglang/zig/issues/3282 | 32 | // TODO https://github.com/ziglang/zig/issues/3282 |
| 37 | if (@import("builtin").arch == .aarch64) return error.SkipZigTest; | 33 | if (@import("builtin").arch == .aarch64) return error.SkipZigTest; |
| 38 | if (@import("builtin").arch == .riscv64) { | ||
| 39 | // TODO: https://github.com/ziglang/zig/issues/3338 | ||
| 40 | return error.SkipZigTest; | ||
| 41 | } | ||
| 42 | 34 | ||
| 43 | var x: f16 = 12.34; | 35 | var x: f16 = 12.34; |
| 44 | var y: f128 = x; | 36 | var y: f128 = x; |