diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-02-08 10:15:58 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-02-09 08:56:50 +1100 |
commit | 414399b6b8a02f03d3b0cba5cfa9205dff618a9b (patch) | |
tree | 3bf76b7db351d7ee7839f37c68eaef259da07885 /ui/sdl2.c | |
parent | d9e52834656ffa766113f1fbae8efe37aaac1df2 (diff) | |
download | qemu-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