]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Factor out VFP access checking code
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jun 2019 15:39:41 +0000 (16:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Jun 2019 14:14:03 +0000 (15:14 +0100)
commit06db8196bba34776829020192ed623a0b22e6557
tree026a53d25ab299c53072440f74ed1ac25ea5a01b
parent78e138bc1f672c145ef6ace74617db00eebaa2ba
target/arm: Factor out VFP access checking code

Factor out the VFP access checking code so that we can use it in the
leaf functions of the decodetree decoder.

We call the function full_vfp_access_check() so we can keep
the more natural vfp_access_check() for a version which doesn't
have the 'ignore_vfp_enabled' flag -- that way almost all VFP
insns will be able to use vfp_access_check(s) and only the
special-register access function will have to use
full_vfp_access_check(s, ignore_vfp_enabled).

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