Re: [PATCH 6/6] target/loongarch: Use hswap_i64() in REVH.D opcode

2023-08-22 Thread Richard Henderson
On 8/22/23 04:01, Philippe Mathieu-Daudé wrote: Commit 46be8425ff ("tcg: Implement tcg_gen_{h,w}swap_{i32,i64}") introduced the generic hswap_i32(). Use it instead of open-coding it as gen_revh_d(). Signed-off-by: Philippe Mathieu-Daudé --- target/loongarch/insn_trans/trans_bit.c.inc | 16 +---

[PATCH 6/6] target/loongarch: Use hswap_i64() in REVH.D opcode

2023-08-22 Thread Philippe Mathieu-Daudé
Commit 46be8425ff ("tcg: Implement tcg_gen_{h,w}swap_{i32,i64}") introduced the generic hswap_i32(). Use it instead of open-coding it as gen_revh_d(). Signed-off-by: Philippe Mathieu-Daudé --- target/loongarch/insn_trans/trans_bit.c.inc | 16 +--- 1 file changed, 1 insertion(+), 15 d