[Qemu-devel] [PATCH 0/2] target/arm: SB and PredRes extensions

Richard Henderson posted 2 patches 6 years, 8 months ago
Failed in applying to current master (apply log)
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(+)
[Qemu-devel] [PATCH 0/2] target/arm: SB and PredRes extensions
Posted by Richard Henderson 6 years, 8 months ago
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