在 2023/4/24 下午8:44, Richard Henderson 写道:
On 4/24/23 12:25, Song Gao wrote:You don't need these. Just reverse the operands to the existing tcg_gen_mulsu2_*.Ok, I'm just trying to unify "u * s " to the macros VMUL_Q and VMADD_Q.Then create local wrappers:void tcg_gen_mulus2_i64(TCGv_i64 rl, TCGv_i64 rh, TCGv_i64 arg1, TCGv_i64 arg2){ tcg_gen_mulsu2_i64(rl, rh, arg2, arg1); }
Ah, got it. Thanks. Song Gao