]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Simplify gen_sar
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 17:43:41 +0000 (10:43 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 13:44:54 +0000 (14:44 +0100)
commit099d1c20883a26e540086695559ca1e4dcd66fa1
treecb9b0851c657b59d11b31e76ebe1e2668aeade0e
parentfe12080c5f96f077552de92eb44ea2bb0588f51f
target/arm: Simplify gen_sar

Use tcg_gen_umin_i32 instead of tcg_gen_movcond_i32.
Use tcg_constant_i32 while we're at it.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c