]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Reorganize SVE WHILE
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 14 Aug 2018 16:17:22 +0000 (17:17 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Mar 2019 02:00:32 +0000 (21:00 -0500)
commitbfc23fb2f096a549e7a07eb50bba16b1c838b5d4
tree51063733aab46ba0f3a987ba42f31bbd318cbda8
parentf7ddde210a0944b91be1c51bd090104191a76414
target/arm: Reorganize SVE WHILE

The pseudocode for this operation is an increment + compare loop,
so comparing <= the maximum integer produces an all-true predicate.

Rather than bound in both the inline code and the helper, pass the
helper the number of predicate bits to set instead of the number
of predicate elements to set.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20180801123111.3595-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit bbd0968c458d48e34a08b8694fa3309a9fe1c9e7)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/arm/sve_helper.c
target/arm/translate-sve.c