On 6/6/19 12:45 PM, Peter Maydell wrote: > 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.mayd...@linaro.org> > --- > target/arm/translate-vfp.inc.c | 100 ++++++++++++++++++++++++++++++++ > target/arm/translate.c | 101 +++++---------------------------- > 2 files changed, 113 insertions(+), 88 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~