[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/8] target/arm: Add ID_AA64ISAR2_EL1
From: |
Aaron Lindsay |
Subject: |
Re: [PATCH v3 1/8] target/arm: Add ID_AA64ISAR2_EL1 |
Date: |
Mon, 12 Jun 2023 09:18:15 -0400 |
On Jun 09 13:49, Richard Henderson wrote:
> On 6/9/23 10:23, Aaron Lindsay wrote:
> > --- a/target/arm/hvf/hvf.c
> > +++ b/target/arm/hvf/hvf.c
> > @@ -847,6 +847,7 @@ static bool
> > hvf_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf)
> > { HV_SYS_REG_ID_AA64DFR1_EL1, &host_isar.id_aa64dfr1 },
> > { HV_SYS_REG_ID_AA64ISAR0_EL1, &host_isar.id_aa64isar0 },
> > { HV_SYS_REG_ID_AA64ISAR1_EL1, &host_isar.id_aa64isar1 },
> > + { HV_SYS_REG_ID_AA64ISAR2_EL1, &host_isar.id_aa64isar2 },
>
> Sadly not defined for MacOSX13.1.sdk, and it's an enum so you can't #ifdef it
> either.
>
> You'll need a meson probe for it.
I'm not very familiar with HVF or meson - I am not sure I understand
what you're suggesting here (and a few attempts to grep around for an
example didn't turn up anything that looked helpful). Are you suggesting
some sort of build-time auto-detection, a "dumb" configuration switch
that a user could use to manually enable this, or something else? And/or
is there an example you could point me to of what you're thinking?
-Aaron
[PATCH v3 3/8] target/arm: Implement v8.3 QARMA3 PAC cipher, Aaron Lindsay, 2023/06/09
[PATCH v3 6/8] targer/arm: Inform helpers whether a PAC instruction is 'combined', Aaron Lindsay, 2023/06/09
[PATCH v3 2/8] target/arm: v8.3 PAC ID_AA64ISAR[12] feature-detection, Aaron Lindsay, 2023/06/09
[PATCH v3 8/8] target/arm: Add CPU property for QARMA3, enable FPACCombined by default, Aaron Lindsay, 2023/06/09