Re: [PATCH v4 2/5] tcg/sparc: Improve code gen for shifted 32-bit constants

2022-02-04 Thread Peter Maydell
On Fri, 4 Feb 2022 at 07:27, Richard Henderson wrote: > > We had code for checking for 13 and 21-bit shifted constants, > but we can do better and allow 32-bit shifted constants. > This is still 2 insns shorter than the full 64-bit sequence. > > Signed-off-by: Richard Henderson > --- Reviewed-by

Re: [PATCH v4 2/5] tcg/sparc: Improve code gen for shifted 32-bit constants

2022-02-04 Thread Philippe Mathieu-Daudé via
On 4/2/22 08:00, Richard Henderson wrote: We had code for checking for 13 and 21-bit shifted constants, but we can do better and allow 32-bit shifted constants. This is still 2 insns shorter than the full 64-bit sequence. Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.c.inc | 12 ++

[PATCH v4 2/5] tcg/sparc: Improve code gen for shifted 32-bit constants

2022-02-03 Thread Richard Henderson
We had code for checking for 13 and 21-bit shifted constants, but we can do better and allow 32-bit shifted constants. This is still 2 insns shorter than the full 64-bit sequence. Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.c.inc | 12 ++-- 1 file changed, 6 insertions(+),