public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] RISC-V: Add -menable-experimental-extensions and support bitmanip instructions
@ 2020-12-15 15:11 Nelson Chu
  2020-12-15 15:11 ` [PATCH 1/3] RISC-V: Support riscv " Nelson Chu
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Nelson Chu @ 2020-12-15 15:11 UTC (permalink / raw)
  To: binutils, claire, maxim.blinov, jimw, andrew, palmer, kito.cheng

Hi Guys,

The -menable-experimental-extensions option was originally discussed
in the following link,
https://sourceware.org/pipermail/binutils/2020-December/114439.html

And we already have riscv bitmanip support in the riscv github,
https://github.com/riscv/riscv-binutils-gdb/tree/riscv-binutils-2.35-rvb

The bitmanip implementations are basically based on the 0.92 spec, but
with the updates from tech-bitmanip mail list.  Eventually, these updates
should be merged back to the spec, and we probably need a new 0.93 version
or tag to make these changes stable.  However, the series of patches show
how the -menable-experimental-extensions option works, and it is the same
as what LLVM had done.  We are still the details of how this will work, so
any suggestion and feedback is welcome.

The tech-bitmanip mail list link,
https://lists.riscv.org/g/tech-bitmanip/topic/summary_of_current_proposals/77924315?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,77924315

And here is the next steps of bitmanip ISA, which are arranged by Ken Dockser,
https://docs.google.com/spreadsheets/d/1toaPZS7L3k__ApHa6QufF36ESNzG9-_NkxSvF4lKuwc/edit#gid=0


BTW, the first patch is little bit difference compared to the
riscv-binutils-2.35-rvb branch.  Here are the difference,

* The spec said that (in Table 2.1) - B is all Zb* extensions except Zbr and
Zbt.  Therefore, I change the INSN_CLASS_B_OR_ZBR/ZBT to INSN_CLASS_ZBR/ZBT.

* I re-arranged the riscv-opcode table and collect ZB* together, to make the
table cleaner.

* rol[w] are ZBB in the tech-bitmanip, but they are ZBP in the 0.92 draft.

* zext.w is addu.w in the tech-bitmanip, but it is packw before.

However, we really need to update the bitmanip draft spec, according to the
tech-bitmanip mails and the table arranged by Ken Dockser, and also get a
new 0.93 version/tag to make the changes stable.


Thanks
Nelson


Hi Claire and Maxim,

I copy your commit name and mail from github, so if you prefer another ones,
please feel free to let me know.  Thank you very much :)

Nelson


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

end of thread, other threads:[~2021-01-04 23:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 15:11 [PATCH 0/3] RISC-V: Add -menable-experimental-extensions and support bitmanip instructions Nelson Chu
2020-12-15 15:11 ` [PATCH 1/3] RISC-V: Support riscv " Nelson Chu
2021-01-04 23:48   ` Jim Wilson
2020-12-15 15:11 ` [PATCH 2/3] RISC-V: Define pseudo rev/orc/zip/unzip as alias instructions Nelson Chu
2020-12-15 15:11 ` [PATCH 3/3] RISC-V: Add -menable-experimental-extensions option Nelson Chu
2020-12-15 18:23 ` [PATCH 0/3] RISC-V: Add -menable-experimental-extensions and support bitmanip instructions Palmer Dabbelt
2020-12-16  2:05   ` Jim Wilson
2020-12-18 20:21     ` Palmer Dabbelt

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