public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [REVIEW ONLY 0/2] RISC-V (unratified): Add 'Zihintntl' extension
@ 2022-07-09  4:56 Tsukasa OI
  2022-07-09  4:56 ` [REVIEW ONLY 1/2] UNRATIFIED RISC-V: " Tsukasa OI
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tsukasa OI @ 2022-07-09  4:56 UTC (permalink / raw)
  To: Tsukasa OI; +Cc: binutils

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


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 the ISA Manual, draft-20220707-f518c25:
<https://github.com/riscv/riscv-isa-manual/releases/tag/draft-20220707-f518c25>


[RFC: Automatic Instruction Compression]

NTL instructions are auto-compressed.  If NTL.* instruction is used and
'C' extension is enabled, it would be emit as 'C.NTL.*' instruction.

I think this behavior is harmless (and desired) considering the
specification but this behavior would be the first for HINT instruction.




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

 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                    | 17 +++++++++++++
 include/opcode/riscv.h                        |  2 ++
 opcodes/riscv-opc.c                           | 12 +++++++++
 13 files changed, 200 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: d2acd4b0c5bab349aaa152d60268bc144634a844
-- 
2.34.1


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

end of thread, other threads:[~2022-09-18 10:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-09  4:56 [REVIEW ONLY 0/2] RISC-V (unratified): Add 'Zihintntl' extension 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 ` [REVIEW ONLY v2 0/1] RISC-V (unratified): Add 'Zihintntl' extension Tsukasa OI
2022-09-18 10:13   ` [REVIEW ONLY v2 1/1] UNRATIFIED RISC-V: " 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).