[all-commits] [llvm/llvm-project] cb7dff: [RISCV] Zvk (vector crypto) specification update t...
Eric Gouriou via All-commits
all-commits at lists.llvm.org
Thu Apr 20 10:29:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb7dffdc9a83f400410657431bda14e79f6e0176
https://github.com/llvm/llvm-project/commit/cb7dffdc9a83f400410657431bda14e79f6e0176
Author: Eric Gouriou <ego at rivosinc.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
A llvm/test/MC/RISCV/rvv/zvbb.s
A llvm/test/MC/RISCV/rvv/zvbc.s
R llvm/test/MC/RISCV/rvv/zvkb.s
M llvm/test/MC/RISCV/rvv/zvkg.s
Log Message:
-----------
[RISCV] Zvk (vector crypto) specification update to 0.5.1 (Zvbb/Zvbc/Zvkt/Zvkng/Zvksg)
Update the Zvk support from 0.3.x to 0.5.1, tracking the extension as
documented in
<https://github.com/riscv/riscv-crypto/releases/download/v20230407/riscv-crypto-spec-vector.pdf>.
- Zvkb is split into Zvbb and Zvbc
- Zvbc (vector carryless multiply) requires 64 bit elements (Zve64x)
- Use the extension descriptions from the specification for Zvbb/Zvbc
- Zvkt is introduced (no instructions, but adds an attribute and macro)
- Zvkn and Zvks both imply Zvkt
- Zvkng and Zvksg are introduced, adding Zvkg (GMAC) to Zvkn and Zvks
- In Zvbb, add vrev.v, vclz.v, vctz.v, vcpop.v, vwsll.{vv,vx,vi}
Differential Revision: https://reviews.llvm.org/D148483
More information about the All-commits
mailing list