]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/arm: Allow setting the FPCR.EBF bit for FEAT_EBF16
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Sep 2024 16:22:14 +0000 (17:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Sep 2024 12:12:35 +0000 (13:12 +0100)
commit8b0898f8dd0379ae8da75d0d07ddd5ae16576216
treedd291e92e360e1bcccf4c5feffd783c541bbe305
parentcab1afb393ea0943b3086188e91d71d594ede6bf
target/arm: Allow setting the FPCR.EBF bit for FEAT_EBF16

FEAT_EBF16 adds one new bit to the FPCR floating point control
register.  Allow this bit to be read and written when the ID
registers indicate the presence of the feature.

Note that because this new bit is not in FPSCR_FPCR_MASK the bit is
not visible in the AArch32 FPSCR, and FPSCR writes do not affect it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/cpu-features.h
target/arm/cpu.h
target/arm/vfp_helper.c