stage2 ARM: implement truncate to ints with bits <= 32

This commit is contained in:
joachimschmidt557
2022-02-24 22:18:21 +01:00
parent db82c1b982
commit 8ef80cfaab
6 changed files with 142 additions and 13 deletions

View File

@@ -16,7 +16,6 @@ test "empty function with comments" {
test "truncate" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
try expect(testTruncate(0x10fd) == 0xfd);
comptime try expect(testTruncate(0x10fd) == 0xfd);