target/arm: Replace CPSR_ERET_MASK with aarch32_cpsr_valid_mask
commit437864216d63f052f3cd06ec8861d0e432496424
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Feb 2020 12:58:03 +0000 (8 12:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Feb 2020 14:14:54 +0000 (13 14:14 +0000)
tree3bcc1114840244f67864a3d995175b2693f3f6f6
parentf062d1447f2a80e7a5f593b8cb5ac7cab5e16eb0
target/arm: Replace CPSR_ERET_MASK with aarch32_cpsr_valid_mask

CPSR_ERET_MASK was a useless renaming of CPSR_RESERVED.
The function also takes into account bits that the cpu
does not support.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200208125816.14954-8-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/op_helper.c