|
From: | Richard Henderson |
Subject: | Re: [RFC PATCH v3 14/44] target/loongarch: Implement vmul/vmuh/vmulw{ev/od} |
Date: | Mon, 24 Apr 2023 13:44:22 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
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); } r~
[Prev in Thread] | Current Thread | [Next in Thread] |