]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix PSEL size operands to tcg_gen_gvec_ands
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Jul 2025 14:19:30 +0000 (08:19 -0600)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Jul 2025 14:52:21 +0000 (15:52 +0100)
commit3801c5b75ffc60957265513338e8fd5f8b6ce8a1
treea27ed5b33a290258ab0414791b1fc1eedfb68598
parenta827b94c67bab630499876e888f1ffe737d9f26b
target/arm: Fix PSEL size operands to tcg_gen_gvec_ands

Gvec only operates on size 8 and multiples of 16.
Predicates may be any multiple of 2.
Round up the size using the appropriate function.

Cc: qemu-stable@nongnu.org
Fixes: 598ab0b24c0 ("target/arm: Implement PSEL")
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250704142112.1018902-8-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/translate-sve.c