public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] RISC-V: add gcc support for Scalar Cryptography v1.0.0-rc6
@ 2021-11-22  8:19 siyu
  2021-11-22  8:19 ` [PATCH v2 1/2] RISC-V: Add option defines for Scalar Cryptography siyu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: siyu @ 2021-11-22  8:19 UTC (permalink / raw)
  To: gcc-patches
  Cc: kito.cheng, jimw, cmuellner, palmer, andrew, lazyparser, jiawei,
	ben.marshall, mjos, Richard.Newell, SiYu Wu

From: SiYu Wu <siyu@isrc.iscas.ac.cn>

This patch add gcc backend support for RISC-V Scalar Cryptography 
Extension (k-ext), including machine description, builtins defines and 
testcases for each k-ext's subset.

A note about Zbkx: The Zbkx should be implemented in bitmanip's Zbp, but 
since zbp is not included in the bitmanip spec v1.0, and crypto's v1.0 
release will earlier than bitmanip's next release, so for now we 
implementing it here.

Version logs:

v2: As Kito mentions, now this patch only includes the arch string related 
stuff, the builtins and md changes is not included, waiting for the builtin
and intrinsic added to the spec. Also removed the unnecessary patches and add
Changelogs.


SiYu Wu (2):
  RISC-V: Add option defines for Scalar Cryptography
  RISC-V: Add implied defines of Zk, Zkn and Zks

 gcc/common/config/riscv/riscv-common.c | 38 +++++++++++++++++++++++++-
 gcc/config/riscv/arch-canonicalize     | 16 ++++++++++-
 gcc/config/riscv/riscv-opts.h          | 22 +++++++++++++++
 gcc/config/riscv/riscv.opt             |  3 ++
 4 files changed, 77 insertions(+), 2 deletions(-)

-- 
2.25.1


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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22  8:19 [PATCH v2 0/2] RISC-V: add gcc support for Scalar Cryptography v1.0.0-rc6 siyu
2021-11-22  8:19 ` [PATCH v2 1/2] RISC-V: Add option defines for Scalar Cryptography siyu
2021-11-22  8:19 ` [PATCH v2 2/2] RISC-V: Add implied defines of Zk, Zkn and Zks siyu
2021-11-24  3:22 ` [PATCH v2 0/2] RISC-V: add gcc support for Scalar Cryptography v1.0.0-rc6 Palmer Dabbelt
2021-11-24 10:00   ` Kito Cheng
2021-11-24 16:41     ` Palmer Dabbelt
2021-12-03 16:11       ` Kito Cheng

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