|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH v2 09/25] target/arm: Avoid tcg_const_ptr in disas_simd_zip_trn |
| Date: | Wed, 8 Mar 2023 00:02:28 +0100 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 7/3/23 19:34, Richard Henderson wrote:
It is easy enough to use mov instead of or-with-zero
and relying on the optimizer to fold away the or.
Use an array for the output, rather than separate
tcg_res{l,h} variables.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
Cc: qemu-arm@nongnu.org
---
target/arm/tcg/translate-a64.c | 41 +++++++++++++++++-----------------
1 file changed, 21 insertions(+), 20 deletions(-)
+ for (i = 0; i <= is_q; ++i) {
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
+ write_vec_element(s, tcg_res[i], rd, i, MO_64);
}
clear_vec_high(s, is_q, rd);
}
| [Prev in Thread] | Current Thread | [Next in Thread] |