public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: 陈嘉炜 <jiawei@iscas.ac.cn>
To: "Jan Beulich" <jbeulich@suse.com>
Cc: kito.cheng@sifive.com, nelson.chu@sifive.com, jimw@sifive.com,
	 philipp.tomsich@vrull.eu, mjos@pqshield.com,
	 ben.marshall@pqshield.com, cmuellner@ventanamicro.com,
	 palmer@dabbelt.com, andrew@sifive.com, lazyparser@gmail.com,
	 siyu@isrc.iscas.ac.cn, schwab@linux-m68k.org,
	binutils@sourceware.org
Subject: Re: Re: [PATCH v4 2/3] RISC-V: Scalar crypto instructions and operand set
Date: Tue, 4 Jan 2022 16:38:56 +0800 (GMT+08:00)	[thread overview]
Message-ID: <3fabe6df.10ef.17e243dcae6.Coremail.jiawei@iscas.ac.cn> (raw)
In-Reply-To: <8b80997e-9bc8-2425-dd2d-dc7bd9e28b0a@suse.com>




&gt; -----原始邮件-----
&gt; 发件人: "Jan Beulich" <jbeulich@suse.com>
&gt; 发送时间: 2022-01-04 16:04:31 (星期二)
&gt; 收件人: jiawei <jiawei@iscas.ac.cn>
&gt; 抄送: kito.cheng@sifive.com, nelson.chu@sifive.com, jimw@sifive.com, philipp.tomsich@vrull.eu, mjos@pqshield.com, ben.marshall@pqshield.com, cmuellner@ventanamicro.com, palmer@dabbelt.com, andrew@sifive.com, lazyparser@gmail.com, siyu@isrc.iscas.ac.cn, schwab@linux-m68k.org, binutils@sourceware.org
&gt; 主题: Re: [PATCH v4 2/3] RISC-V: Scalar crypto instructions and operand set
&gt; 
&gt; On 15.11.2021 04:03, jiawei wrote:
&gt; &gt; @@ -847,6 +856,49 @@ const struct riscv_opcode riscv_opcodes[] =
&gt; &gt;  {"bext",      0, INSN_CLASS_ZBS,   "d,s,t",  MATCH_BEXT, MASK_BEXT, match_opcode, 0 },
&gt; &gt;  {"bext",      0, INSN_CLASS_ZBS,   "d,s,&gt;",  MATCH_BEXTI, MASK_BEXTI, match_opcode, INSN_ALIAS },
&gt; &gt;  
&gt; &gt; +/* Zbkx instructions  */
&gt; &gt; +{"xperm4",     0, INSN_CLASS_ZBKX,  "d,s,t",  MATCH_XPERM4, MASK_XPERM4, match_opcode, 0 },
&gt; &gt; +{"xperm8",     0, INSN_CLASS_ZBKX,  "d,s,t",  MATCH_XPERM8, MASK_XPERM8, match_opcode, 0 },
&gt; &gt; +
&gt; &gt; +/* Zknd instructions  */
&gt; &gt; +{"aes32dsi",  32, INSN_CLASS_ZKND,  "d,s,t,y",  MATCH_AES32DSI, MASK_AES32DSI, match_opcode, 0 },
&gt; &gt; +{"aes32dsmi", 32, INSN_CLASS_ZKND,  "d,s,t,y",  MATCH_AES32DSMI, MASK_AES32DSMI, match_opcode, 0 },
&gt; 
&gt; For these two and a few more with immediate operands and a trailing 'i'
&gt; in the mnemonics: Shouldn't they have i-suffix-less pseudos, matching
&gt; other insns with immediate operands?
&gt; 
&gt; Jan

I think the 'i' trailing is just a dinstinguishing symbol in zknd extension, there are no i-suffix-less pseudo definitions in the cryptogrpah extension spec, please check it.

https://github.com/riscv/riscv-crypto/releases/download/v1.0.0-rc6-scalar/riscv-crypto-spec-scalar-1.0.0-rc6.pdf

PLCT Jiawei


</jiawei@iscas.ac.cn></jbeulich@suse.com>

  reply	other threads:[~2022-01-04  8:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15  3:03 [PATCH v4 0/3] RISC-V: Support Scalar Cryptography extension jiawei
2021-11-15  3:03 ` [PATCH v4 1/3] RISC-V: Minimal support of scalar crypto extension jiawei
2022-02-21 13:24   ` Jan Beulich
2022-02-21 14:14     ` jiawei
2022-02-21 14:16       ` Philipp Tomsich
2022-02-21 14:25         ` Jan Beulich
2022-02-21 14:44         ` Tsukasa OI
2022-02-21 14:50           ` Kito Cheng
2021-11-15  3:03 ` [PATCH v4 2/3] RISC-V: Scalar crypto instructions and operand set jiawei
2022-01-04  8:04   ` Jan Beulich
2022-01-04  8:38     ` 陈嘉炜 [this message]
2022-01-04  8:49       ` Jan Beulich
2022-01-04 13:13         ` Markku-Juhani O. Saarinen
2021-11-15  3:03 ` [PATCH v4 3/3] RISC-V: Scalar crypto instruction and Entropy Source CSR testcases jiawei
2021-12-21 16:06   ` Jan Beulich
2021-11-16  4:07 ` [PATCH v4 0/3] RISC-V: Support Scalar Cryptography extension Nelson Chu

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=3fabe6df.10ef.17e243dcae6.Coremail.jiawei@iscas.ac.cn \
    --to=jiawei@iscas.ac.cn \
    --cc=andrew@sifive.com \
    --cc=ben.marshall@pqshield.com \
    --cc=binutils@sourceware.org \
    --cc=cmuellner@ventanamicro.com \
    --cc=jbeulich@suse.com \
    --cc=jimw@sifive.com \
    --cc=kito.cheng@sifive.com \
    --cc=lazyparser@gmail.com \
    --cc=mjos@pqshield.com \
    --cc=nelson.chu@sifive.com \
    --cc=palmer@dabbelt.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=schwab@linux-m68k.org \
    --cc=siyu@isrc.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).