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 v2 0/1] RISC-V (unratified): Add 'Zihintntl' extension
Date: Sun, 18 Sep 2022 10:13:21 +0000	[thread overview]
Message-ID: <cover.1663496000.git.research_trasio@irq.a4lg.com> (raw)
In-Reply-To: <cover.1657342594.git.research_trasio@irq.a4lg.com>

*** WAIT FOR SPECIFICATION FREEZE ***
This is an implementation for unratified and unfrozen RISC-V extension
and not intended to be merged as of 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.


[Cover Letter: Common in 'Zihintntl' and 'Zfa' patchsets]

As someone (I can't remember) pointed out in the RISC-V BoF of GNU Tools
Cauldron 2022, we don't have a policy to accept unstable extensions yet.
Still, at least we can talk about new extensions now...

1.  To try new instructions/features as fast as possible,
2.  To make actual adoption as fast as possible and
3.  To avoid redoing someone else's work

I'm working on following unratified RISC-V extensions:

1.  'Zihintntl' [resent as v2]
    <https://github.com/a4lg/binutils-gdb/wiki/riscv_zihintntl>
    <https://sourceware.org/pipermail/binutils/2022-July/121682.html>
2.  'Smrnmi' (resumable NMI)
    <https://github.com/a4lg/binutils-gdb/wiki/riscv_smrnmi>
    <https://sourceware.org/pipermail/binutils/2022-July/121689.html>
3.  'Zfa' [NEW]
    <https://github.com/a4lg/binutils-gdb/wiki/riscv_zfa>

I will resend 'Zihintntl' (squashed and applied minor formatting fixes)
and submit new 'Zfa' extension as a remainder of what am I doing.



['Zihintntl': Non-Temporal Locality Hints, Version 0.2]

This patchset adds following unratified extension to GNU Binutils:

-   Zihintntl (Non-Temporal Locality Hints extension)
    version 0.2 (may change on ratification)

... which adds only HINT instructions.

This is based on:
<https://github.com/riscv/riscv-isa-manual/commit/c0db46f72a1cc409194bf7f11c09e69a387f16a0>
(latest commit of the 'master' branch as of this writing)


Changes: v1 -> v2
-   Squashed
-   Fixed minor formatting errors
-   Added DECLARE_INSN declarations


Thanks,
Tsukasa




Tsukasa OI (1):
  UNRATIFIED RISC-V: Add 'Zihintntl' extension

 bfd/elfxx-riscv.c                             | 16 ++++++++++++
 gas/testsuite/gas/riscv/zihintntl-auto-c.d    | 17 ++++++++++++
 .../gas/riscv/zihintntl-base-noarch.d         | 25 ++++++++++++++++++
 gas/testsuite/gas/riscv/zihintntl-base.d      | 25 ++++++++++++++++++
 gas/testsuite/gas/riscv/zihintntl-base.s      | 17 ++++++++++++
 gas/testsuite/gas/riscv/zihintntl-c-noalias.d | 17 ++++++++++++
 gas/testsuite/gas/riscv/zihintntl-c.d         | 17 ++++++++++++
 gas/testsuite/gas/riscv/zihintntl-c.s         |  9 +++++++
 gas/testsuite/gas/riscv/zihintntl.d           | 17 ++++++++++++
 gas/testsuite/gas/riscv/zihintntl.s           |  9 +++++++
 include/opcode/riscv-opc.h                    | 26 +++++++++++++++++++
 include/opcode/riscv.h                        |  2 ++
 opcodes/riscv-opc.c                           | 12 +++++++++
 13 files changed, 209 insertions(+)
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-auto-c.d
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-base-noarch.d
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-base.d
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-base.s
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-c-noalias.d
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-c.d
 create mode 100644 gas/testsuite/gas/riscv/zihintntl-c.s
 create mode 100644 gas/testsuite/gas/riscv/zihintntl.d
 create mode 100644 gas/testsuite/gas/riscv/zihintntl.s


base-commit: 4e38ed582cb9a2e09141126c2e0a527816e702e6
-- 
2.34.1


  parent reply	other threads:[~2022-09-18 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09  4:56 [REVIEW ONLY 0/2] " Tsukasa OI
2022-07-09  4:56 ` [REVIEW ONLY 1/2] UNRATIFIED RISC-V: " Tsukasa OI
2022-07-09  4:56 ` [REVIEW ONLY 2/2] UNRATIFIED RISC-V: Add 'Zihintntl' extension tests Tsukasa OI
2022-09-18 10:13 ` Tsukasa OI [this message]
2022-09-18 10:13   ` [REVIEW ONLY v2 1/1] UNRATIFIED RISC-V: Add 'Zihintntl' extension 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.1663496000.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).