stage2 ARM: fix bitwise negation of ints with bits < 32

This commit is contained in:
joachimschmidt557
2022-03-13 20:23:20 +01:00
parent ca1ffb0951
commit 0eebdfcad3
2 changed files with 79 additions and 54 deletions

View File

@@ -367,7 +367,6 @@ test "binary not" {
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
try expect(comptime x: {
break :x ~@as(u16, 0b1010101010101010) == 0b0101010101010101;