mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
tcg: Merge INDEX_op_bswap32_{i32,i64}
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
d7b15a25a7
commit
7498d882cb
7 changed files with 20 additions and 28 deletions
|
@ -690,7 +690,7 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState *env,
|
|||
tci_args_rr(insn, &r0, &r1);
|
||||
regs[r0] = bswap16(regs[r1]);
|
||||
break;
|
||||
CASE_32_64(bswap32)
|
||||
case INDEX_op_bswap32:
|
||||
tci_args_rr(insn, &r0, &r1);
|
||||
regs[r0] = bswap32(regs[r1]);
|
||||
break;
|
||||
|
@ -1004,14 +1004,13 @@ int print_insn_tci(bfd_vma addr, disassemble_info *info)
|
|||
break;
|
||||
|
||||
case INDEX_op_bswap16:
|
||||
case INDEX_op_bswap32:
|
||||
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_bswap32_i32:
|
||||
case INDEX_op_bswap32_i64:
|
||||
case INDEX_op_bswap64_i64:
|
||||
tci_args_rr(insn, &r0, &r1);
|
||||
info->fprintf_func(info->stream, "%-12s %s, %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue