|
From: | Song Gao |
Subject: | Re: [RFC PATCH v3 14/44] target/loongarch: Implement vmul/vmuh/vmulw{ev/od} |
Date: | Mon, 24 Apr 2023 21:00:43 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
在 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
[Prev in Thread] | Current Thread | [Next in Thread] |