Re: [PATCH v3 028/162] tcg: Convert sub to TCGOutOpSubtract

2025-02-22 Thread Richard Henderson
On 2/20/25 15:07, Philippe Mathieu-Daudé wrote: Hi Richard, On 17/2/25 00:07, Richard Henderson wrote: Create a special subclass for sub, because two backends can support "subtract from immediate".  Drop all backend support for an immediate as the second operand, as we transform sub to add duri

Re: [PATCH v3 028/162] tcg: Convert sub to TCGOutOpSubtract

2025-02-20 Thread Philippe Mathieu-Daudé
Hi Richard, On 17/2/25 00:07, Richard Henderson wrote: Create a special subclass for sub, because two backends can support "subtract from immediate". Drop all backend support for an immediate as the second operand, as we transform sub to add during optimize. Signed-off-by: Richard Henderson -

[PATCH v3 028/162] tcg: Convert sub to TCGOutOpSubtract

2025-02-16 Thread Richard Henderson
Create a special subclass for sub, because two backends can support "subtract from immediate". Drop all backend support for an immediate as the second operand, as we transform sub to add during optimize. Signed-off-by: Richard Henderson --- tcg/mips/tcg-target-con-set.h| 1 - tcg/ppc/tcg-t