qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 2/3] target/arm: Add support for FEAT_TLBIOS


From: Richard Henderson
Subject: Re: [PATCH v3 2/3] target/arm: Add support for FEAT_TLBIOS
Date: Wed, 10 Mar 2021 13:32:36 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/9/21 6:29 PM, Rebecca Cran wrote:
+static inline bool isar_feature_aa64_tlbios(const ARMISARegisters *id)
+{
+    return FIELD_EX64(id->id_aa64isar0, ID_AA64ISAR0, TLB) == 1 ||
+           FIELD_EX64(id->id_aa64isar0, ID_AA64ISAR0, TLB) == 2;
+}

The correct test here is != 0.  See D13.1.3
Principles of the ID scheme for fields in ID registers.


r~



reply via email to

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