public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: shihua@iscas.ac.cn
To: "Kito Cheng" <kito.cheng@gmail.com>
Cc: gcc-patches@gcc.gnu.org, jiawei@iscas.ac.cn, mjos@iki.fi,
	 palmer@dabbelt.com, shiyulong@iscas.ac.cn,
	ben.marshall@pqshield.com,  christoph.muellner@vrull.eu
Subject: Re: Re: [PATCH V2 0/5] RISC-V: Implement Scalar Cryptography Extension
Date: Fri, 17 Feb 2023 11:29:57 +0800 (GMT+08:00)	[thread overview]
Message-ID: <45fadad4.3e64.1865d6be453.Coremail.shihua@iscas.ac.cn> (raw)
In-Reply-To: <CA+yXCZCx=k8V9y_dH0PEABxwVDAMEU5kLrrk0uMP-SsxUzUNKw@mail.gmail.com>

OK, I will send another one which remove riscv_scalar_crypto.h and update testcases with __builtin_riscv_XX


&gt; -----原始邮件-----
&gt; 发件人: "Kito Cheng" <kito.cheng@gmail.com>
&gt; 发送时间: 2023-02-16 21:28:34 (星期四)
&gt; 收件人: "Liao Shihua" <shihua@iscas.ac.cn>
&gt; 抄送: gcc-patches@gcc.gnu.org, jiawei@iscas.ac.cn, mjos@iki.fi, palmer@dabbelt.com, shiyulong@iscas.ac.cn, ben.marshall@pqshield.com, christoph.muellner@vrull.eu
&gt; 主题: Re: [PATCH V2 0/5] RISC-V: Implement Scalar Cryptography Extension
&gt; 
&gt; Hi Shihua:
&gt; 
&gt; Thanks for your patches! This patch set is generally in good shape,
&gt; but I would prefer to remove riscv_scalar_crypto.h at this moment
&gt; since it's NOT standardized yet.
&gt; 
&gt; Do you mind sending a new version of this patch set which does not
&gt; include that and also update the testcases?
&gt; 
&gt; 
&gt; 
&gt; On Thu, Feb 16, 2023 at 3:52 PM Liao Shihua <shihua@iscas.ac.cn> wrote:
&gt; &gt;
&gt; &gt; This series adds basic support for the Scalar Cryptography extensions:
&gt; &gt; * Zbkb
&gt; &gt; * Zbkc
&gt; &gt; * Zbkx
&gt; &gt; * Zknd
&gt; &gt; * Zkne
&gt; &gt; * Zknh
&gt; &gt; * Zksed
&gt; &gt; * Zksh
&gt; &gt;
&gt; &gt; The implementation follows the version Scalar Cryptography v1.0.0 of the specification,
&gt; &gt; and the intrinsic of Scalar Cryptography extensions follows riscv-c-api
&gt; &gt; which can be found here:
&gt; &gt; https://github.com/riscv/riscv-crypto/releases/tag/v1.0.0-scalar
&gt; &gt; https://github.com/riscv-non-isa/riscv-c-api-doc/pull/31
&gt; &gt;
&gt; &gt; It works by Wu Siyu and Liao Shihua .
&gt; &gt;
&gt; &gt; Liao Shihua (5):
&gt; &gt;   Add prototypes for RISC-V Crypto built-in functions
&gt; &gt;   Implement ZBKB, ZBKC and ZBKX extensions
&gt; &gt;   Implement ZKND and ZKNE extensions
&gt; &gt;   Implement ZKNH extensions
&gt; &gt;   Implement ZKSH and ZKSED extensions
&gt; &gt;
&gt; &gt;  gcc/config.gcc                                |   2 +-
&gt; &gt;  gcc/config/riscv/bitmanip.md                  |  20 +-
&gt; &gt;  gcc/config/riscv/constraints.md               |   8 +
&gt; &gt;  gcc/config/riscv/crypto.md                    | 435 ++++++++++++++++++
&gt; &gt;  gcc/config/riscv/riscv-builtins.cc            |  26 ++
&gt; &gt;  gcc/config/riscv/riscv-crypto.def             |  94 ++++
&gt; &gt;  gcc/config/riscv/riscv-ftypes.def             |  10 +
&gt; &gt;  gcc/config/riscv/riscv.md                     |   4 +-
&gt; &gt;  gcc/config/riscv/riscv_scalar_crypto.h        | 218 +++++++++
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zbkb32.c       |  36 ++
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zbkb64.c       |  28 ++
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zbkc32.c       |  17 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zbkc64.c       |  17 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zbkx32.c       |  18 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zbkx64.c       |  18 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zknd32.c       |  18 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zknd64.c       |  36 ++
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zkne32.c       |  18 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zkne64.c       |  30 ++
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zknh-sha256.c  |  29 ++
&gt; &gt;  .../gcc.target/riscv/zknh-sha512-32.c         |  43 ++
&gt; &gt;  .../gcc.target/riscv/zknh-sha512-64.c         |  31 ++
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zksed.c        |  20 +
&gt; &gt;  gcc/testsuite/gcc.target/riscv/zksh.c         |  19 +
&gt; &gt;  24 files changed, 1183 insertions(+), 12 deletions(-)
&gt; &gt;  create mode 100644 gcc/config/riscv/crypto.md
&gt; &gt;  create mode 100644 gcc/config/riscv/riscv-crypto.def
&gt; &gt;  create mode 100644 gcc/config/riscv/riscv_scalar_crypto.h
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zbkb32.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zbkb64.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zbkc32.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zbkc64.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zbkx32.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zbkx64.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zknd32.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zknd64.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zkne32.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zkne64.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zknh-sha256.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zknh-sha512-32.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zknh-sha512-64.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zksed.c
&gt; &gt;  create mode 100644 gcc/testsuite/gcc.target/riscv/zksh.c
&gt; &gt;
&gt; &gt; --
&gt; &gt; 2.38.1.windows.1
&gt; &gt;
</shihua@iscas.ac.cn></shihua@iscas.ac.cn></kito.cheng@gmail.com>

      parent reply	other threads:[~2023-02-17  3:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16  7:50 Liao Shihua
2023-02-16  7:50 ` [PATCH V2 1/5] Add prototypes for RISC-V Crypto built-in functions Liao Shihua
2023-02-16  7:50 ` [PATCH V2 2/5] Implement ZBKB, ZBKC and ZBKX extensions Liao Shihua
2023-02-16  7:50 ` [PATCH V2 3/5] Implement ZKND and ZKNE extensions Liao Shihua
2023-02-16  7:50 ` [PATCH V2 4/5] Implement ZKNH extensions Liao Shihua
2023-02-16  7:50 ` [PATCH V2 5/5] Implement ZKSH and ZKSED extensions Liao Shihua
2023-02-16 13:28 ` [PATCH V2 0/5] RISC-V: Implement Scalar Cryptography Extension Kito Cheng
2023-02-16 13:52   ` Markku-Juhani Olavi Saarinen
2023-02-16 14:00     ` Kito Cheng
2023-02-17  3:29   ` shihua [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=45fadad4.3e64.1865d6be453.Coremail.shihua@iscas.ac.cn \
    --to=shihua@iscas.ac.cn \
    --cc=ben.marshall@pqshield.com \
    --cc=christoph.muellner@vrull.eu \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jiawei@iscas.ac.cn \
    --cc=kito.cheng@gmail.com \
    --cc=mjos@iki.fi \
    --cc=palmer@dabbelt.com \
    --cc=shiyulong@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).