public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [v1 0/4]riscv/binutils support Hypervisor Extension
@ 2021-12-21  2:34 Vineet Gupta
  2021-12-21  2:34 ` [v1 1/4] RISC-V: Hypervisor ext: drop Privileged Spec 1.9.1 implementation/tests Vineet Gupta
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Vineet Gupta @ 2021-12-21  2:34 UTC (permalink / raw)
  To: Binutils, Nelson Chu; +Cc: Kito Cheng, jim.wilson.gcc, palmer, Vineet Gupta

Hi,

This patchset adds support for Hypervisor Extension ratified recently
[1].

Changes since RFC [2]:

  - Drop support for single-letter arch string "h".
    'H' extension is currently supported unconditionally so keep status quo.

  - H-ext support in Priv spec 1.9.1 dropped, broken out as seperate patch.

Please review/comment !

Thx,
-Vineet

[1] https://wiki.riscv.org/display/TECH/Recently+Ratified+Extensions
[2] https://sourceware.org/pipermail/binutils/2021-December/118914.html

Vineet Gupta (4):
  RISC-V: Hypervisor ext: drop Privileged Spec 1.9.1
    implementation/tests
  RISC-V: Hypervisor ext: support Privileged Spec 1.12
  RISC-V: Hypervisor Ext: Add tests
  RISC-V: fix a comment for adding CSR entry and annotate switch-break

 bfd/cpu-riscv.c                               |   1 +
 bfd/cpu-riscv.h                               |   1 +
 bfd/elfxx-riscv.c                             |   6 +
 gas/config/tc-riscv.c                         |  10 +-
 gas/testsuite/gas/riscv/csr-dw-regnums.d      |  10 --
 gas/testsuite/gas/riscv/csr-dw-regnums.s      |  10 --
 gas/testsuite/gas/riscv/h-ext-32.d            |  74 ++++++++++++
 gas/testsuite/gas/riscv/h-ext-32.s            |  64 ++++++++++
 gas/testsuite/gas/riscv/h-ext-64.d            |  73 ++++++++++++
 gas/testsuite/gas/riscv/h-ext-64.s            |  63 ++++++++++
 .../gas/riscv/priv-reg-fail-read-only-01.s    |  10 --
 .../gas/riscv/priv-reg-fail-version-1p10.l    |  10 --
 .../gas/riscv/priv-reg-fail-version-1p11.l    |  10 --
 .../gas/riscv/priv-reg-version-1p10.d         |  10 --
 .../gas/riscv/priv-reg-version-1p11.d         |  10 --
 .../gas/riscv/priv-reg-version-1p9p1.d        |  10 --
 gas/testsuite/gas/riscv/priv-reg.s            |  10 --
 gas/testsuite/gas/riscv/svinval-and-h.d       |  15 +++
 gas/testsuite/gas/riscv/svinval-and-h.s       |   5 +
 include/opcode/riscv-opc.h                    | 110 ++++++++++++++----
 include/opcode/riscv.h                        |   2 +
 opcodes/riscv-opc.c                           |  26 ++++-
 22 files changed, 423 insertions(+), 117 deletions(-)
 create mode 100644 gas/testsuite/gas/riscv/h-ext-32.d
 create mode 100644 gas/testsuite/gas/riscv/h-ext-32.s
 create mode 100644 gas/testsuite/gas/riscv/h-ext-64.d
 create mode 100644 gas/testsuite/gas/riscv/h-ext-64.s
 create mode 100644 gas/testsuite/gas/riscv/svinval-and-h.d
 create mode 100644 gas/testsuite/gas/riscv/svinval-and-h.s

-- 
2.30.2


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

end of thread, other threads:[~2022-01-04 18:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21  2:34 [v1 0/4]riscv/binutils support Hypervisor Extension Vineet Gupta
2021-12-21  2:34 ` [v1 1/4] RISC-V: Hypervisor ext: drop Privileged Spec 1.9.1 implementation/tests Vineet Gupta
2021-12-24  8:23   ` Nelson Chu
2021-12-21  2:34 ` [v1 2/4] RISC-V: Hypervisor ext: support Privileged Spec 1.12 Vineet Gupta
2021-12-24  8:40   ` Nelson Chu
2022-01-04  8:09   ` Jan Beulich
2022-01-04 18:10     ` Vineet Gupta
2021-12-21  2:34 ` [v1 3/4] RISC-V: Hypervisor Ext: Add tests Vineet Gupta
2022-01-04  8:12   ` Jan Beulich
2022-01-04 18:46     ` Vineet Gupta
2021-12-21  2:34 ` [v1 4/4] RISC-V: fix a comment for adding CSR entry and annotate switch-break Vineet Gupta
2021-12-23  1:35 ` [v1 0/4]riscv/binutils support Hypervisor Extension Palmer Dabbelt
2021-12-24  8:51   ` Nelson Chu
2021-12-28 17:54     ` Vineet Gupta

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 read-only IMAP folder(s) and NNTP newsgroup(s).