From: Kito Cheng <kito.cheng@gmail.com>
To: Liao Shihua <shihua@iscas.ac.cn>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH V3 0/5] RISC-V: Implement Scalar Cryptography Extension
Date: Sun, 5 Mar 2023 18:19:19 +0800 [thread overview]
Message-ID: <CA+yXCZDP5WWZUy+vHS9=+QRhVH9bWf+UctBKwwLEDFH2eT4EaA@mail.gmail.com> (raw)
In-Reply-To: <20230220070125.2291-1-shihua@iscas.ac.cn>
Committed, thanks!
On Mon, Feb 20, 2023 at 3:01 PM Liao Shihua <shihua@iscas.ac.cn> wrote:
>
> This series adds basic support for the Scalar Cryptography extensions:
> * Zbkb
> * Zbkc
> * Zbkx
> * Zknd
> * Zkne
> * Zknh
> * Zksed
> * Zksh
>
> The implementation follows the version Scalar Cryptography v1.0.0 of the specification,
> which can be found here:
> https://github.com/riscv/riscv-crypto/releases/tag/v1.0.0-scalar
>
> It works by Wu Siyu and Liao Shihua .
> Liao Shihua (5):
> Add prototypes for RISC-V Crypto built-in functions
> Implement ZBKB, ZBKC and ZBKX extensions
> Implement ZKND and ZKNE extensions
> Implement ZKNH extension
> Implement ZKSH and ZKSED extensions
>
> gcc/config/riscv/bitmanip.md | 20 +-
> gcc/config/riscv/constraints.md | 8 +
> gcc/config/riscv/crypto.md | 435 ++++++++++++++++++
> gcc/config/riscv/riscv-builtins.cc | 26 ++
> gcc/config/riscv/riscv-ftypes.def | 10 +
> gcc/config/riscv/riscv-scalar-crypto.def | 94 ++++
> gcc/config/riscv/riscv.md | 4 +-
> gcc/testsuite/gcc.target/riscv/zbkb32.c | 36 ++
> gcc/testsuite/gcc.target/riscv/zbkb64.c | 28 ++
> gcc/testsuite/gcc.target/riscv/zbkc32.c | 17 +
> gcc/testsuite/gcc.target/riscv/zbkc64.c | 17 +
> gcc/testsuite/gcc.target/riscv/zbkx32.c | 18 +
> gcc/testsuite/gcc.target/riscv/zbkx64.c | 18 +
> gcc/testsuite/gcc.target/riscv/zknd32.c | 18 +
> gcc/testsuite/gcc.target/riscv/zknd64.c | 36 ++
> gcc/testsuite/gcc.target/riscv/zkne32.c | 18 +
> gcc/testsuite/gcc.target/riscv/zkne64.c | 30 ++
> gcc/testsuite/gcc.target/riscv/zknh-sha256.c | 28 ++
> .../gcc.target/riscv/zknh-sha512-32.c | 42 ++
> .../gcc.target/riscv/zknh-sha512-64.c | 31 ++
> gcc/testsuite/gcc.target/riscv/zksed32.c | 19 +
> gcc/testsuite/gcc.target/riscv/zksed64.c | 19 +
> gcc/testsuite/gcc.target/riscv/zksh32.c | 19 +
> gcc/testsuite/gcc.target/riscv/zksh64.c | 19 +
> 24 files changed, 999 insertions(+), 11 deletions(-)
> create mode 100644 gcc/config/riscv/crypto.md
> create mode 100644 gcc/config/riscv/riscv-scalar-crypto.def
> create mode 100644 gcc/testsuite/gcc.target/riscv/zbkb32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zbkb64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zbkc32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zbkc64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zbkx32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zbkx64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zknd32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zknd64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zkne32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zkne64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zknh-sha256.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zknh-sha512-32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zknh-sha512-64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zksed32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zksed64.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zksh32.c
> create mode 100644 gcc/testsuite/gcc.target/riscv/zksh64.c
>
> --
> 2.38.1.windows.1
>
prev parent reply other threads:[~2023-03-05 10:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-20 7:01 Liao Shihua
2023-02-20 7:01 ` [PATCH V3 1/5] RISC-V: Add prototypes for RISC-V Crypto built-in functions Liao Shihua
2023-02-20 7:01 ` [PATCH V3 2/5] RISC-V: Implement ZBKB, ZBKC and ZBKX extensions Liao Shihua
2023-02-20 7:01 ` [PATCH V3 3/5] RISC-V: Implement ZKND and ZKNE extensions Liao Shihua
2023-02-20 7:01 ` [PATCH V3 4/5] RISC-V: Implement ZKNH extension Liao Shihua
2023-02-20 7:01 ` [PATCH V3 5/5] RISC-V: Implement ZKSH and ZKSED extensions Liao Shihua
2023-03-05 10:19 ` Kito Cheng [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+yXCZDP5WWZUy+vHS9=+QRhVH9bWf+UctBKwwLEDFH2eT4EaA@mail.gmail.com' \
--to=kito.cheng@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=shihua@iscas.ac.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).