Re: [PATCH v3 06/14] tcg/riscv: Implement vector mov/dup{m/i}

2024-09-09 Thread LIU Zhiwei
On 2024/9/5 14:56, Richard Henderson wrote: On 9/4/24 07:27, LIU Zhiwei wrote: @@ -698,6 +704,21 @@ static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)   case TCG_TYPE_I64:   tcg_out_opc_imm(s, OPC_ADDI, ret, arg, 0);   break; +    case TCG_TYPE_V6

Re: [PATCH v3 06/14] tcg/riscv: Implement vector mov/dup{m/i}

2024-09-04 Thread Richard Henderson
On 9/4/24 07:27, LIU Zhiwei wrote: @@ -698,6 +704,21 @@ static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) case TCG_TYPE_I64: tcg_out_opc_imm(s, OPC_ADDI, ret, arg, 0); break; +case TCG_TYPE_V64: +case TCG_TYPE_V128: +case TCG_TYPE_

[PATCH v3 06/14] tcg/riscv: Implement vector mov/dup{m/i}

2024-09-04 Thread LIU Zhiwei
From: TANG Tiancheng Signed-off-by: TANG Tiancheng Reviewed-by: Liu Zhiwei Reviewed-by: Richard Henderson --- tcg/riscv/tcg-target.c.inc | 53 ++ 1 file changed, 53 insertions(+) diff --git a/tcg/riscv/tcg-target.c.inc b/tcg/riscv/tcg-target.c.inc index 4b