[PATCH] D148483: RISC-V Zvk (vector crypto) specification update to 0.4 (Zvbb/Zvbc/Zvkt/Zvkng/Zvksg)

Eric Gouriou via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 11:20:21 PDT 2023


ego updated this revision to Diff 514695.
ego edited the summary of this revision.
ego added a comment.
Herald added a subscriber: jdoerfert.

Updated to address Alex's review. Also:

- added a test for vgmul in rvv/zvkg.s,
- in addition to fixing attributes.ll, added missing extension tests there,
- added the missing feature for Zvkt, also caught with attributes.ll,
- did actually include the clang-format fixes, instead of forgetting to add then to the amended commit.

I based the update on the latest specification PDF published, 0.5.1. I believe the later updates do not have impact on the support in LLVM.

Many thanks for catching so many real issues. As usual something weird happened since the patch was perfect before upload :-).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148483/new/

https://reviews.llvm.org/D148483

Files:
  clang/test/Preprocessor/riscv-target-features.c
  llvm/docs/RISCVUsage.rst
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/lib/Target/RISCV/RISCVFeatures.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
  llvm/test/CodeGen/RISCV/attributes.ll
  llvm/test/MC/RISCV/attribute-arch.s
  llvm/test/MC/RISCV/rvv/zvbb.s
  llvm/test/MC/RISCV/rvv/zvbc.s
  llvm/test/MC/RISCV/rvv/zvkb.s
  llvm/test/MC/RISCV/rvv/zvkg.s
  llvm/test/MC/RISCV/rvv/zvksed.s
  llvm/test/MC/RISCV/rvv/zvksh.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148483.514695.patch
Type: text/x-patch
Size: 48163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/99e37628/attachment.bin>


More information about the llvm-commits mailing list