qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] target/arm: Implement ARMv8.0-PredRes


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 2/2] target/arm: Implement ARMv8.0-PredRes
Date: Tue, 26 Feb 2019 10:52:01 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 2/26/19 10:44 AM, Peter Maydell wrote:
> On Wed, 20 Feb 2019 at 23:50, Richard Henderson
> <address@hidden> wrote:
>>
>> This is named "Execution and Data prediction restriction instructions"
>> within the ARMv8.5 manual, and given the name "PredRes" by binutils.
> 
> The official name is v8.0-PredInv.
> (You can see this used in the xml descriptions for the new insns, eg:
> https://developer.arm.com/docs/ddi0595/b/aarch64-system-instructions/cfp-rctx 
> )

Thanks.  I may file a bug against binutils.  ;-)

>> +
>> +    /* All v8.0-a cpus support aarch64.  */
> 
> True, but why is it relevant here ?
> 
>> +    if (cpu_isar_feature(aa64_specres, cpu)) {
>> +        define_arm_cp_regs(cpu, specres_reginfo);
>> +    }

The context, I think, is that we're in a function that handles a32,
and I am not checking arm_feature(cpu, ARM_FEATURE_AARCH64) before
checking cpu_isar_feature(aa64_specres, cpu).

At least that's my recollection.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]