Skip to content

target: Use TCG generic gen_hswap_i32/i64()

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6target/arm: Use hswap_i32() in VREV/SMLAD opcodestarget/arm/tcg/translate-a32.h target/arm/tcg/translate-neon.c target/arm/tcg/translate.c+4 -101 reply
2/6target/cris: Use hswap_i32() in SWAPW opcodetarget/cris/translate.c target/cris/translate_v10.c.inc+2 -144 replies
3/6target/microblaze: Use hswap_i32() in SWAPH opcodetarget/microblaze/translate.c+1 -61 reply
4/6target/sh4: Use hswap_i32() in SWAP.W opcodetarget/sh4/translate.c+1 -11 reply
5/6target/mips: Use hswap_i64() in DSHD opcodetarget/mips/tcg/translate.c+1 -131 reply
6/6target/loongarch: Use hswap_i64() in REVH.D opcodetarget/loongarch/insn_trans/trans_bit.c.inc+1 -151 reply

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/6R-b
2/6
3/6R-b
4/6R-b
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.41.0