qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 2/8] tcg/sparc: Split out tcg_out_movi_imm32


From: Peter Maydell
Subject: Re: [PATCH v6 2/8] tcg/sparc: Split out tcg_out_movi_imm32
Date: Tue, 8 Feb 2022 10:44:08 +0000

On Tue, 8 Feb 2022 at 07:17, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Handle 32-bit constants with a separate function, so that
> tcg_out_movi_int does not need to recurse.  This slightly
> rearranges the order of tests for small constants, but
> produces the same output.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---

Dropping the recursion makes this function definitely
easier to reason about.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]