[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] target/arm: SB and PredRes extensions
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 0/2] target/arm: SB and PredRes extensions |
Date: |
Wed, 20 Feb 2019 15:50:15 -0800 |
Both of these are defined by the ARMv8.5 spec, but back-defined
as v8.0 extensions.
All of the relevant instructions are nops within QEMU. Tested by
locally setting SCTLR_EL1.EnRCTX for aarch64-linux-user and then
executing each of the insns to see that they decode properly.
The SB extension is already upstream in linux 5.0-rc1, with the
HWCAP entry. The PredRes extension has no upstream support yet,
so we need to wait to see what they do for userland ABI.
r~
Richard Henderson (2):
target/arm: Implement ARMv8.0-SB
target/arm: Implement ARMv8.0-PredRes
target/arm/cpu.h | 21 ++++++++++++++++
linux-user/elfload.c | 1 +
target/arm/cpu.c | 2 ++
target/arm/cpu64.c | 4 ++++
target/arm/helper.c | 49 ++++++++++++++++++++++++++++++++++++++
target/arm/translate-a64.c | 14 +++++++++++
target/arm/translate.c | 22 +++++++++++++++++
7 files changed, 113 insertions(+)
--
2.17.2