Re: [PATCH 2/6] target/cris: Use hswap_i32() in SWAPW opcode

2023-08-22 Thread Philippe Mathieu-Daudé
On 22/8/23 15:27, Peter Maydell wrote: On Tue, 22 Aug 2023 at 14:06, Philippe Mathieu-Daudé wrote: On 22/8/23 13:44, Peter Maydell wrote: On Tue, 22 Aug 2023 at 12:01, Philippe Mathieu-Daudé wrote: Commit 46be8425ff ("tcg: Implement tcg_gen_{h,w}swap_{i32,i64}") introduced the generic hswa

Re: [PATCH 2/6] target/cris: Use hswap_i32() in SWAPW opcode

2023-08-22 Thread Peter Maydell
On Tue, 22 Aug 2023 at 14:06, Philippe Mathieu-Daudé wrote: > > On 22/8/23 13:44, Peter Maydell wrote: > > On Tue, 22 Aug 2023 at 12:01, Philippe Mathieu-Daudé > > wrote: > >> > >> Commit 46be8425ff ("tcg: Implement tcg_gen_{h,w}swap_{i32,i64}") > >> introduced the generic hswap_i32(). Use it in

Re: [PATCH 2/6] target/cris: Use hswap_i32() in SWAPW opcode

2023-08-22 Thread Philippe Mathieu-Daudé
On 22/8/23 13:44, Peter Maydell wrote: On Tue, 22 Aug 2023 at 12: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 t_gen_swapw(). Signed-off-by: Philippe Mathieu-Daudé ---

Re: [PATCH 2/6] target/cris: Use hswap_i32() in SWAPW opcode

2023-08-22 Thread Peter Maydell
On Tue, 22 Aug 2023 at 12: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 t_gen_swapw(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > target/cris/translate.c