On Mon, 24 Feb 2020 at 22:22, Richard Henderson <[email protected]> wrote: > > We cannot easily create "any" functions for these, because the > ID_AA64PFR0 fields for FP and SIMD signal "enabled" with zero. > Which means that an aarch32-only cpu will return incorrect results > when testing the aarch64 registers. > > To use these, we must either have context or additionally test > vs ARM_FEATURE_AARCH64. > > Signed-off-by: Richard Henderson <[email protected]> > --- > target/arm/cpu.h | 11 +++++++++++ > target/arm/cpu.c | 9 ++++++--- > target/arm/machine.c | 5 +++-- > 3 files changed, 20 insertions(+), 5 deletions(-)
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
