public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] RISC-V: Support Scalar Cryptography extension
@ 2021-11-02  9:43 jiawei
  2021-11-02  9:44 ` [PATCH 1/4] RISC-V: Fix order check when use 'z*' sub-extensions jiawei
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: jiawei @ 2021-11-02  9:43 UTC (permalink / raw)
  To: binutils
  Cc: kito.cheng, nelson.chu, jimw, mjos, ben.marshall, cmuellner,
	palmer, andrew, lazyparser, siyu, jiawei

This patch is support Scalar Cryptography extension(k-ext v1.0.0-rc5) as
binutils part, you can find gcc patches part in https://github.com/WuSiYu/riscv-gcc/tree/trunk-crypto-rebase by siyu@isrc.iscas.ac.cn.

The first patch fix the order check with 'z' begin sub-extension, it set 'zb' before 'zk' as a right case. Some instruction in 'zbkb' and 'zbkc' is both used by Bitmanip and Scalar Cryptography extension, we just redefine the class with them. 

Here is the github repo link contain this patch: https://github.com/pz9115/riscv-binutils-gdb/commits/k-ext-rebase, the old version of this work is form https://github.com/riscv-collab/riscv-binutils-gdb/pull/254, Thanks for Nelson Chu and Jim Wilson's review and help.

jiawei (4):
  RISC-V: Fix order check when use 'z*' sub-extensions
  RISC-V: Minimal support of scalar crypto extension
  RISC-V: Scalar crypto instructions and operand set
  RISC-V: Scalar crypto instruction and Entropy Source CSR testcases

 bfd/elfxx-riscv.c                             | 29 ++++++-
 gas/config/tc-riscv.c                         | 49 +++++++++++
 gas/testsuite/gas/riscv/k-ext-64.d            | 47 ++++++++++
 gas/testsuite/gas/riscv/k-ext-64.s            | 38 ++++++++
 gas/testsuite/gas/riscv/k-ext.d               | 44 ++++++++++
 gas/testsuite/gas/riscv/k-ext.s               | 35 ++++++++
 .../gas/riscv/priv-reg-version-1p10.d         |  1 +
 .../gas/riscv/priv-reg-version-1p11.d         |  1 +
 .../gas/riscv/priv-reg-version-1p9p1.d        |  1 +
 gas/testsuite/gas/riscv/priv-reg.s            |  4 +
 include/opcode/riscv-opc.h                    | 75 ++++++++++++++++
 include/opcode/riscv.h                        | 18 ++++
 opcodes/riscv-dis.c                           |  8 ++
 opcodes/riscv-opc.c                           | 87 +++++++++++++++----
 14 files changed, 419 insertions(+), 18 deletions(-)
 create mode 100644 gas/testsuite/gas/riscv/k-ext-64.d
 create mode 100644 gas/testsuite/gas/riscv/k-ext-64.s
 create mode 100644 gas/testsuite/gas/riscv/k-ext.d
 create mode 100644 gas/testsuite/gas/riscv/k-ext.s


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

end of thread, other threads:[~2021-11-03 18:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02  9:43 [PATCH 0/4] RISC-V: Support Scalar Cryptography extension jiawei
2021-11-02  9:44 ` [PATCH 1/4] RISC-V: Fix order check when use 'z*' sub-extensions jiawei
2021-11-02 10:38   ` Nelson Chu
2021-11-02 12:23     ` 陈嘉炜
2021-11-02 14:56       ` Nelson Chu
2021-11-02  9:44 ` [PATCH 2/4] RISC-V: Minimal support of scalar crypto extension jiawei
2021-11-02  9:44 ` [PATCH 3/4] RISC-V: Scalar crypto instructions and operand set jiawei
2021-11-02  9:44 ` [PATCH 4/4] RISC-V: Scalar crypto instruction and Entropy Source CSR testcases jiawei
2021-11-02  9:54   ` Andreas Schwab

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