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.hender...@linaro.org>
---
Cc: qemu-...@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é <phi...@linaro.org>

+        write_vec_element(s, tcg_res[i], rd, i, MO_64);
      }
      clear_vec_high(s, is_q, rd);
  }


Reply via email to