public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Tsukasa OI <research_trasio@irq.a4lg.com>
To: Tsukasa OI <research_trasio@irq.a4lg.com>
Cc: binutils@sourceware.org
Subject: [REVIEW ONLY 0/1] UNRATIFIED RISC-V: Add 'Smclic' extension and its CSRs
Date: Tue, 29 Nov 2022 01:19:52 +0000	[thread overview]
Message-ID: <cover.1669684774.git.research_trasio@irq.a4lg.com> (raw)

*** 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


             reply	other threads:[~2022-11-29  1:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29  1:19 Tsukasa OI [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1669684774.git.research_trasio@irq.a4lg.com \
    --to=research_trasio@irq.a4lg.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).