OSDN Git Service

target/arm: Split vfp_access_check() into A and M versions
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 18 Jun 2021 14:10:18 +0000 (15:10 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jun 2021 15:49:38 +0000 (16:49 +0100)
commite8cedaf779c0c2b13e0cc1ca580beaf5a6562a73
tree5728c5ed320dc52b78480cd83d614e0e7c9f5ca4
parent95aceeeac9a37d05c106ba807867616496d5c90e
target/arm: Split vfp_access_check() into A and M versions

vfp_access_check and its helper routine full_vfp_access_check() has
gradually grown and is now an awkward mix of A-profile only and
M-profile only pieces.  Refactor it into an A-profile only and an
M-profile only version, taking advantage of the fact that now the
only direct call to full_vfp_access_check() is in A-profile-only
code.

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