diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-05 04:09:15 +0300 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-02-09 08:59:06 +1100 |
commit | 684db2a0b04ff024d0a275de85982fe5892185d3 (patch) | |
tree | 5524d1f1421316f918944b60c35278bebe8c698b /tcg/tcg-common.c | |
parent | 92840d06faeed2038b90d5b168c18d73ca3a44b8 (diff) | |
download | qemu-684db2a0b04ff024d0a275de85982fe5892185d3.zip qemu-684db2a0b04ff024d0a275de85982fe5892185d3.tar.gz qemu-684db2a0b04ff024d0a275de85982fe5892185d3.tar.bz2 |
tcg/sparc: Improve code gen for shifted 32-bit constants
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.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg-common.c')
0 files changed, 0 insertions, 0 deletions