public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] RISC-V: Add intrinsics for Bitmanip and Scalar Crypto extensions
@ 2023-12-07 10:16 Liao Shihua
  2023-12-07 10:16 ` [PATCH V2 1/2] RISC-V: Add C intrinsics of Scalar Crypto Extension Liao Shihua
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Liao Shihua @ 2023-12-07 10:16 UTC (permalink / raw)
  To: gcc-patches
  Cc: christoph.muellner, kito.cheng, shiyulong, jiawei, chenyixuan,
	jeffreyalaw, Liao Shihua

In accordance with the suggestions of Christoph Müllner, the following amendments are made

Update v1 -> v2:
  1. Rename *_intrinsic-* to *_intrinsic-XLEN.
  2. Typo fix.
  3. Intrinsics with immediate arguments will use marcos at O0 .

It's a little patch add just provides a mapping from the RV intrinsics to the builtin 
names within GCC.


Liao Shihua (2):
  Add C intrinsics of Scalar Crypto Extension
  Add C intrinsics of Bitmanip Extension

 gcc/config.gcc                                |   2 +-
 gcc/config/riscv/riscv-builtins.cc            |  22 ++
 gcc/config/riscv/riscv-ftypes.def             |   2 +
 gcc/config/riscv/riscv-scalar-crypto.def      |  18 +
 gcc/config/riscv/riscv_bitmanip.h             | 297 +++++++++++++++++
 gcc/config/riscv/riscv_crypto.h               | 309 ++++++++++++++++++
 .../riscv/scalar_bitmanip_intrinsic-32.c      |  97 ++++++
 .../riscv/scalar_bitmanip_intrinsic-64.c      | 115 +++++++
 .../riscv/scalar_crypto_intrinsic-32.c        | 115 +++++++
 .../riscv/scalar_crypto_intrinsic-64.c        | 122 +++++++
 10 files changed, 1098 insertions(+), 1 deletion(-)
 create mode 100644 gcc/config/riscv/riscv_bitmanip.h
 create mode 100644 gcc/config/riscv/riscv_crypto.h
 create mode 100644 gcc/testsuite/gcc.target/riscv/scalar_bitmanip_intrinsic-32.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/scalar_bitmanip_intrinsic-64.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/scalar_crypto_intrinsic-32.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/scalar_crypto_intrinsic-64.c

-- 
2.34.1


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

end of thread, other threads:[~2023-12-07 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 10:16 [PATCH V2 0/2] RISC-V: Add intrinsics for Bitmanip and Scalar Crypto extensions Liao Shihua
2023-12-07 10:16 ` [PATCH V2 1/2] RISC-V: Add C intrinsics of Scalar Crypto Extension Liao Shihua
2023-12-07 10:16 ` [PATCH V2 2/2]RISC-V: Add C intrinsics of Bitmanip Extension Liao Shihua
2023-12-07 16:59 ` [PATCH V2 0/2] RISC-V: Add intrinsics for Bitmanip and Scalar Crypto extensions Christoph Müllner
2023-12-07 21:01   ` Jeff Law

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