[PATCH] D62307: [AArch64][SVE2] Asm: support SVE2 Crypto Extensions Group

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 06:09:40 PDT 2019


c-rhodes created this revision.
c-rhodes added reviewers: sdesmalen, rovka, SjoerdMeijer, chill.
Herald added subscribers: kristof.beyls, tschuett, javed.absar.
Herald added a project: LLVM.

Patch adds support for the following instructions:

SVE2 crypto constructive binary operations:

- SM4EKEY, RAX1

SVE2 crypto destructive binary operations:

- AESE, AESD, SM4E

SVE2 crypto unary operations:

- AESMC, AESIMC

AESE, AESD, AESMC and AESIMC are enabled with +sve2-aes.  SM4E and
SM4EKEY are enabled with +sve2-sm4. RAX1 is enabled with +sve2-sha3.

The specification can be found here:
https://developer.arm.com/docs/ddi0602/latest


Repository:
  rL LLVM

https://reviews.llvm.org/D62307

Files:
  lib/Target/AArch64/AArch64SVEInstrInfo.td
  lib/Target/AArch64/SVEInstrFormats.td
  test/MC/AArch64/SVE2/aesd-diagnostics.s
  test/MC/AArch64/SVE2/aesd.s
  test/MC/AArch64/SVE2/aese-diagnostics.s
  test/MC/AArch64/SVE2/aese.s
  test/MC/AArch64/SVE2/aesimc-diagnostics.s
  test/MC/AArch64/SVE2/aesimc.s
  test/MC/AArch64/SVE2/aesmc-diagnostics.s
  test/MC/AArch64/SVE2/aesmc.s
  test/MC/AArch64/SVE2/rax1-diagnostics.s
  test/MC/AArch64/SVE2/rax1.s
  test/MC/AArch64/SVE2/sm4e-diagnostics.s
  test/MC/AArch64/SVE2/sm4e.s
  test/MC/AArch64/SVE2/sm4ekey-diagnostics.s
  test/MC/AArch64/SVE2/sm4ekey.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62307.200947.patch
Type: text/x-patch
Size: 22565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190523/6d3b88b4/attachment.bin>


More information about the llvm-commits mailing list