target/arm: Fix sve_zcr_len_for_el
commit6a02a73211c5bc634fccd652777230954b83ccba
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 8 Jul 2019 13:11:30 +0000 (8 14:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Jul 2019 13:11:30 +0000 (8 14:11 +0100)
tree4ceab40e196b83a2d78de4b35610add2fc5ca853
parentc4107e8208d0222f9b328691b519aaee4101db87
target/arm: Fix sve_zcr_len_for_el

Off by one error in the EL2 and EL3 tests.  Remove the test
against EL3 entirely, since it must always be true.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190702104732.31154-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c