Re: [PATCH] lower-bitint: Fix up .{ADD,SUB}_OVERFLOW lowering

2024-02-10 Thread Richard Biener
> Am 10.02.2024 um 11:03 schrieb Jakub Jelinek : > > Hi! > > torture/bitint-37.c test FAILed on i686-linux e.g. on > signed _BitInt(575) + unsigned _BitInt(575) -> signed _BitInt(575) > __builtin_add_overflow. With 64-bit limbs, we use 4 .UADDC calls in > the IL, 2 in a loop (which handles

[PATCH] lower-bitint: Fix up .{ADD,SUB}_OVERFLOW lowering

2024-02-10 Thread Jakub Jelinek
Hi! torture/bitint-37.c test FAILed on i686-linux e.g. on signed _BitInt(575) + unsigned _BitInt(575) -> signed _BitInt(575) __builtin_add_overflow. With 64-bit limbs, we use 4 .UADDC calls in the IL, 2 in a loop (which handles the first 8 limbs), then one partial limb (we use 63 bits from that)