public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [REVIEW ONLY 0/1] UNRATIFIED RISC-V: Add 'Smclic' extension and its CSRs
@ 2022-11-29  1:19 Tsukasa OI
  2022-11-29  1:19 ` [REVIEW ONLY 1/1] " Tsukasa OI
  2023-09-12  1:39 ` [REVIEW ONLY v2 0/1] UNRATIFIED RISC-V: Add support for Core-Local Interrupt Controller (CLIC) extensions and their CSRs Tsukasa OI
  0 siblings, 2 replies; 7+ messages in thread
From: Tsukasa OI @ 2022-11-29  1:19 UTC (permalink / raw)
  To: Tsukasa OI; +Cc: binutils

*** WAIT FOR SPECIFICATION FREEZE ***
This is an implementation for unratified and not frozen RISC-V extension
and not intended to be merged for now.
The only intent to submit this patchset is to test new instructions for
your (possibly virtual) environment and early review for fast adoption
after ratification.


This patchset adds following unratified extension to GNU Binutils:

-   'Smclic' (RISC-V Core-Local Interrupt Controller; CLIC)
    version 0.9 (may change on ratification)

which adds 18 CSRs.

This extension is a software side of Core-Local Interrupt Controller (CLIC)
which provides lower latency local interrupts.


This is based on the specification document, version 0.9-draft:
<https://github.com/riscv/riscv-fast-interrupt/blob/e601b94bf43af0e9842b20134814404e488511e3/clic.pdf>


Although that 18 CSRs are assigned with actual numbers (this is why I'm not
attaching "CSR instantiation" script in this patchset), it may be changed
before ratification.  Be careful.




Tsukasa OI (1):
  UNRATIFIED RISC-V: Add 'Smclic' extension and its CSRs

 bfd/elfxx-riscv.c                           |  2 ++
 gas/config/tc-riscv.c                       |  4 +++
 gas/testsuite/gas/riscv/csr-dw-regnums.d    | 18 ++++++++++
 gas/testsuite/gas/riscv/csr-dw-regnums.s    | 19 ++++++++++
 gas/testsuite/gas/riscv/csr-version-1p10.d  | 36 +++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p10.l  | 39 +++++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p11.d  | 36 +++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p11.l  | 39 +++++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p12.d  | 36 +++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p12.l  | 39 +++++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p9p1.d | 36 +++++++++++++++++++
 gas/testsuite/gas/riscv/csr-version-1p9p1.l | 39 +++++++++++++++++++++
 gas/testsuite/gas/riscv/csr.s               | 20 +++++++++++
 include/opcode/riscv-opc.h                  | 38 ++++++++++++++++++++
 14 files changed, 401 insertions(+)


base-commit: cb44f89ce977b1ab2d4063f2487950bddfb75bc7
-- 
2.38.1


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

end of thread, other threads:[~2023-09-12  1:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29  1:19 [REVIEW ONLY 0/1] UNRATIFIED RISC-V: Add 'Smclic' extension and its CSRs Tsukasa OI
2022-11-29  1:19 ` [REVIEW ONLY 1/1] " Tsukasa OI
2022-11-29  2:03   ` Palmer Dabbelt
2022-11-29  2:16     ` Tsukasa OI
2022-11-29  2:43       ` Palmer Dabbelt
2023-09-12  1:39 ` [REVIEW ONLY v2 0/1] UNRATIFIED RISC-V: Add support for Core-Local Interrupt Controller (CLIC) extensions and their CSRs Tsukasa OI
2023-09-12  1:39   ` [REVIEW ONLY v2 1/1] UNRATIFIED RISC-V: Add CLIC extensions with CSRs Tsukasa OI

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).