target/arm: Tidy sve_exception_el for CPACR_EL1 access
commit7701cee545109f737d43c73ac9d8be2523b9d54c
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Feb 2022 17:04:43 +0000 (4 17:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Feb 2022 10:56:27 +0000 (8 10:56 +0000)
tree954558b25fe63312e79d95609a8b170a64a6d06d
parent63888fa78be5825647ce1187dcd7b2470d8bb452
target/arm: Tidy sve_exception_el for CPACR_EL1 access

Extract entire fields for ZEN and FPEN, rather than testing specific bits.
This makes it easier to follow the code versus the ARM spec.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Message-id: 20220127063428.30212-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c