mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
tcg: Merge INDEX_op_bswap16_{i32,i64}
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5fa8e13872
commit
0dd07ee112
7 changed files with 15 additions and 21 deletions
|
@ -686,7 +686,7 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env,
|
|||
tci_write_reg64(regs, r1, r0, T1 - T2);
|
||||
break;
|
||||
#endif
|
||||
CASE_32_64(bswap16)
|
||||
case INDEX_op_bswap16:
|
||||
tci_args_rr(insn, &r0, &r1);
|
||||
regs[r0] = bswap16(regs[r1]);
|
||||
break;
|
||||
|
@ -1005,14 +1005,13 @@ int print_insn_tci(bfd_vma addr, disassemble_info *info)
|
|||
op_name, str_r(r0), str_r(r1), s2);
|
||||
break;
|
||||
|
||||
case INDEX_op_bswap16:
|
||||
case INDEX_op_ctpop:
|
||||
case INDEX_op_mov:
|
||||
case INDEX_op_neg:
|
||||
case INDEX_op_not:
|
||||
case INDEX_op_ext_i32_i64:
|
||||
case INDEX_op_extu_i32_i64:
|
||||
case INDEX_op_bswap16_i32:
|
||||
case INDEX_op_bswap16_i64:
|
||||
case INDEX_op_bswap32_i32:
|
||||
case INDEX_op_bswap32_i64:
|
||||
case INDEX_op_bswap64_i64:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue