[PATCH 0/6] target: Use TCG generic gen_hswap_i32/i64()

Philippe Mathieu-Daudé posted 6 patches 9 months ago
Failed in applying to current master (apply log)
target/arm/tcg/translate-a32.h              |  6 ------
target/arm/tcg/translate-neon.c             |  4 ++--
target/arm/tcg/translate.c                  |  4 ++--
target/cris/translate.c                     | 14 +-------------
target/microblaze/translate.c               |  7 +------
target/mips/tcg/translate.c                 | 14 +-------------
target/sh4/translate.c                      |  2 +-
target/cris/translate_v10.c.inc             |  2 +-
target/loongarch/insn_trans/trans_bit.c.inc | 16 +---------------
9 files changed, 10 insertions(+), 59 deletions(-)
[PATCH 0/6] target: Use TCG generic gen_hswap_i32/i64()
Posted by Philippe Mathieu-Daudé 9 months ago
Some targets open-code gen_hswap();
replace by the generic helper.

Philippe Mathieu-Daudé (6):
  target/arm: Use hswap_i32() in VREV/SMLAD opcodes
  target/cris: Use hswap_i32() in SWAPW opcode
  target/microblaze: Use hswap_i32() in SWAPH opcode
  target/sh4: Use hswap_i32() in SWAP.W opcode
  target/mips: Use hswap_i64() in DSHD opcode
  target/loongarch: Use hswap_i64() in REVH.D opcode

 target/arm/tcg/translate-a32.h              |  6 ------
 target/arm/tcg/translate-neon.c             |  4 ++--
 target/arm/tcg/translate.c                  |  4 ++--
 target/cris/translate.c                     | 14 +-------------
 target/microblaze/translate.c               |  7 +------
 target/mips/tcg/translate.c                 | 14 +-------------
 target/sh4/translate.c                      |  2 +-
 target/cris/translate_v10.c.inc             |  2 +-
 target/loongarch/insn_trans/trans_bit.c.inc | 16 +---------------
 9 files changed, 10 insertions(+), 59 deletions(-)

-- 
2.41.0