[PATCH v4 2/3] RISC-V: Scalar crypto instructions and operand set
Jan Beulich
jbeulich@suse.com
Tue Jan 4 08:04:31 GMT 2022
On 15.11.2021 04:03, jiawei wrote:
> @@ -847,6 +856,49 @@ const struct riscv_opcode riscv_opcodes[] =
> {"bext", 0, INSN_CLASS_ZBS, "d,s,t", MATCH_BEXT, MASK_BEXT, match_opcode, 0 },
> {"bext", 0, INSN_CLASS_ZBS, "d,s,>", MATCH_BEXTI, MASK_BEXTI, match_opcode, INSN_ALIAS },
>
> +/* Zbkx instructions */
> +{"xperm4", 0, INSN_CLASS_ZBKX, "d,s,t", MATCH_XPERM4, MASK_XPERM4, match_opcode, 0 },
> +{"xperm8", 0, INSN_CLASS_ZBKX, "d,s,t", MATCH_XPERM8, MASK_XPERM8, match_opcode, 0 },
> +
> +/* Zknd instructions */
> +{"aes32dsi", 32, INSN_CLASS_ZKND, "d,s,t,y", MATCH_AES32DSI, MASK_AES32DSI, match_opcode, 0 },
> +{"aes32dsmi", 32, INSN_CLASS_ZKND, "d,s,t,y", MATCH_AES32DSMI, MASK_AES32DSMI, match_opcode, 0 },
For these two and a few more with immediate operands and a trailing 'i'
in the mnemonics: Shouldn't they have i-suffix-less pseudos, matching
other insns with immediate operands?
Jan
More information about the Binutils
mailing list