aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-06-28 15:23:47 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-07-11 11:41:33 +0100
commita8ab8706d4cc461481ce419e62e3ad48b03638a8 (patch)
treec1dae65ba1e86b4b2aa99bb87e127ce614374e00 /hw/misc/mst_fpga.c
parentdb397a81eea8a7dce25804398caa750fd6700e49 (diff)
target/arm: Allow FPCR bits that aren't in FPSCR
In order to allow FPCR bits that aren't in the FPSCR (like the new bits that are defined for FEAT_AFP), we need to make sure that writes to the FPSCR only write to the bits of FPCR that are architecturally mapped, and not the others. Implement this with a new function vfp_set_fpcr_masked() which takes a mask of which bits to update. (We could do the same for FPSR, but we leave that until we actually are likely to need it.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20240628142347.1283015-10-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions