]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 9 Jul 2025 08:30:59 +0000 (11:30 +0300)
commit7095d415fd193a877fe727e2eec202b481a1bd73
tree809c54c54a820e3f7087e19f3e6f036e8be4351f
parentaee67c8b3992b5b0871b81a45ee08e0980ef3dbf
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>
(cherry picked from commit 3801c5b75ffc60957265513338e8fd5f8b6ce8a1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/arm/translate-sve.c