target/arm: Fix SCTLR_B test for TCGv_i64 load/store
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 19 Apr 2021 20:22:39 +0000 (13:22 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 30 Apr 2021 10:16:50 +0000 (11:16 +0100)
commit9565ac4cc7e1d1aaccf3d8c6aed423b776e7995f
treef6d97f267f5a51dea6961bc4b793967e55b506a3
parent37bf7a055f6b26a398dd0e953bf73d44e2312b33
target/arm: Fix SCTLR_B test for TCGv_i64 load/store

Just because operating on a TCGv_i64 temporary does not
mean that we're performing a 64-bit operation.  Restrict
the frobbing to actual 64-bit operations.

This bug is not currently visible because all current
users of these two functions always pass MO_64.

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