]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/arm: Simplify do_reduction_op
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 12 Sep 2024 02:40:54 +0000 (19:40 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Sep 2024 11:58:56 +0000 (12:58 +0100)
commitd944e049617669486050baa8dc1b2d56a941c23d
tree59f3c902eb20f236198c95aad59f0672318f8a6c
parenta29e2c7d33501e62cb74a21365d7d03f5f9bac74
target/arm: Simplify do_reduction_op

Use simple shift and add instead of ctpop, ctz, shift and mask.
Unlike SVE, there is no predicate to disable elements.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240912024114.1097832-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/translate-a64.c