Re: [PATCH 13/28] tcg/mips: Support bswap flags in tcg_out_bswap16

2021-06-22 Thread Richard Henderson
On 6/21/21 11:36 PM, Philippe Mathieu-Daudé wrote: /* src = abcd efgh */ if (use_mips32r2_instructions) { tcg_out_opc_reg(s, OPC_WSBH, ret, 0, arg); /* ret = cdab ghef */ badc -- bytes swapped in halfwords. Also, this

Re: [PATCH 13/28] tcg/mips: Support bswap flags in tcg_out_bswap16

2021-06-21 Thread Philippe Mathieu-Daudé
Hi Richard, On 6/14/21 10:37 AM, Richard Henderson wrote: > Merge tcg_out_bswap16 and tcg_out_bswap16s. Use the flags > in the internal uses for loads and stores. > > Signed-off-by: Richard Henderson > --- > tcg/mips/tcg-target.c.inc | 60 ++- > 1 file chang

[PATCH 13/28] tcg/mips: Support bswap flags in tcg_out_bswap16

2021-06-14 Thread Richard Henderson
Merge tcg_out_bswap16 and tcg_out_bswap16s. Use the flags in the internal uses for loads and stores. Signed-off-by: Richard Henderson --- tcg/mips/tcg-target.c.inc | 60 ++- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/tcg/mips/tcg-target.c