diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-03-04 19:19:26 +0100 |
|---|---|---|
| committer | Joachim Schmidt <joachim.schmidt557@outlook.com> | 2022-03-04 23:28:14 +0100 |
| commit | d486a7b81188ea1e027334c81589157efde2ad23 (patch) | |
| tree | 364b3c5bd98adfd2650b292f8e67c52c0cb45dba /test/behavior/math.zig | |
| parent | 7605166426527c7d169ecad89d8de6799935f5ca (diff) | |
| download | zig-d486a7b81188ea1e027334c81589157efde2ad23.tar.gz zig-d486a7b81188ea1e027334c81589157efde2ad23.zip | |
stage2 ARM: generate less no-op branches
The checks detecting such no-op branches (essentially instructions
that branch to the instruction immediately following the branch) were
tightened to catch more of these occurrences.
Diffstat (limited to 'test/behavior/math.zig')
| -rw-r--r-- | test/behavior/math.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index 13a6f59cba..c541ab4731 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -313,7 +313,6 @@ test "xor" { if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO try test_xor(); comptime try test_xor(); @@ -565,7 +564,6 @@ test "bit shift a u1" { test "truncating shift right" { if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO try testShrTrunc(maxInt(u16)); comptime try testShrTrunc(maxInt(u16)); @@ -735,7 +733,6 @@ test "overflow arithmetic with u0 values" { if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO var result: u0 = undefined; try expect(!@addWithOverflow(u0, 0, 0, &result)); |
