stage2 AArch64: initial implementation of {add,sub}_with_overflow

This commit is contained in:
joachimschmidt557
2022-04-23 20:25:59 +02:00
committed by Jakub Konka
parent 59905a62f9
commit c2d2307d09
3 changed files with 105 additions and 26 deletions

View File

@@ -624,7 +624,6 @@ test "128-bit multiplication" {
test "@addWithOverflow" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
var result: u8 = undefined;
try expect(@addWithOverflow(u8, 250, 100, &result));