OSDN Git Service

target/arm: Fix do_predset for large VL
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 9 Jul 2018 13:51:34 +0000 (14:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jul 2018 13:51:34 +0000 (14:51 +0100)
commit973558a3f869e591d2406dd8226ec0c4e32a3c3e
treeb0f2119df82608a61947d510aff80fd9f0c710e2
parent499748d7683198a765d17b4fdf6901ab9dca920c
target/arm: Fix do_predset for large VL

Use MAKE_64BIT_MASK instead of open-coding.  Remove an odd
vector size check that is unlikely to be more profitable
than 3 64-bit integer stores.  Correct the iteration for WORD
to avoid writing too much data.

Fixes RISU tests of PTRUE for VL 256.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180705191929.30773-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-sve.c