aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-02-08 10:15:58 +1100
committerRichard Henderson <richard.henderson@linaro.org>2022-02-09 08:56:50 +1100
commit414399b6b8a02f03d3b0cba5cfa9205dff618a9b (patch)
tree3bf76b7db351d7ee7839f37c68eaef259da07885 /ui/sdl2.c
parentd9e52834656ffa766113f1fbae8efe37aaac1df2 (diff)
downloadqemu-414399b6b8a02f03d3b0cba5cfa9205dff618a9b.zip
qemu-414399b6b8a02f03d3b0cba5cfa9205dff618a9b.tar.gz
qemu-414399b6b8a02f03d3b0cba5cfa9205dff618a9b.tar.bz2
tcg/sparc: Use tcg_out_movi_imm13 in tcg_out_addsub2_i64
When BH is constant, it is constrained to 11 bits for use in MOVCC. For the cases in which we must load the constant BH into a register, we do not need the full logic of tcg_out_movi; we can use the simpler function for emitting a 13 bit constant. This eliminates the only case in which TCG_REG_T2 was passed to tcg_out_movi, which will shortly become invalid. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'ui/sdl2.c')
0 files changed, 0 insertions, 0 deletions