qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] target/arm: SB and PredRes extensions
@ 2019-02-20 23:50 Richard Henderson
  2019-02-20 23:50 ` [Qemu-devel] [PATCH 1/2] target/arm: Implement ARMv8.0-SB Richard Henderson
  2019-02-20 23:50 ` [Qemu-devel] [PATCH 2/2] target/arm: Implement ARMv8.0-PredRes Richard Henderson
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Henderson @ 2019-02-20 23:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-28  1:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 23:50 [Qemu-devel] [PATCH 0/2] target/arm: SB and PredRes extensions Richard Henderson
2019-02-20 23:50 ` [Qemu-devel] [PATCH 1/2] target/arm: Implement ARMv8.0-SB Richard Henderson
2019-02-26 18:31   ` Peter Maydell
2019-02-28  1:18     ` Richard Henderson
2019-02-20 23:50 ` [Qemu-devel] [PATCH 2/2] target/arm: Implement ARMv8.0-PredRes Richard Henderson
2019-02-26 18:44   ` Peter Maydell
2019-02-26 18:52     ` Richard Henderson
2019-02-26 18:53       ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).