summaryrefslogtreecommitdiffstats
path: root/docs/pcie_pci_bridge.txt
diff options
context:
space:
mode:
authorPeter Maydell2020-02-14 18:50:58 +0100
committerPeter Maydell2020-02-21 17:07:00 +0100
commit6e61f8391cc6cb0846d4bf078dbd935c2aeebff5 (patch)
treec60a19cde4a1c819f7a3bec3772669bb546424f3 /docs/pcie_pci_bridge.txt
parenttarget/arm: Check aa32_pan in take_aarch32_exception(), not aa64_pan (diff)
downloadqemu-6e61f8391cc6cb0846d4bf078dbd935c2aeebff5.tar.gz
qemu-6e61f8391cc6cb0846d4bf078dbd935c2aeebff5.tar.xz
qemu-6e61f8391cc6cb0846d4bf078dbd935c2aeebff5.zip
target/arm: Add isar_feature_any_fp16 and document naming/usage conventions
Our current usage of the isar_feature feature tests almost always uses an _aa32_ test when the code path is known to be AArch32 specific and an _aa64_ test when the code path is known to be AArch64 specific. There is just one exception: in the vfp_set_fpscr helper we check aa64_fp16 to determine whether the FZ16 bit in the FP(S)CR exists, but this code is also used for AArch32. There are other places in future where we're likely to want a general "does this feature exist for either AArch32 or AArch64" check (typically where architecturally the feature exists for both CPU states if it exists at all, but the CPU might be AArch32-only or AArch64-only, and so only have one set of ID registers). Introduce a new category of isar_feature_* functions: isar_feature_any_foo() should be tested when what we want to know is "does this feature exist for either AArch32 or AArch64", and always returns the logical OR of isar_feature_aa32_foo() and isar_feature_aa64_foo(). Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20200214175116.9164-4-peter.maydell@linaro.org
Diffstat (limited to 'docs/pcie_pci_bridge.txt')
0 files changed, 0 insertions, 0 deletions