[PATCH] D137694: [RISCV] Add OPCFG format of vector
Jiejie Rong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 9 00:32:01 PST 2022
JojoR created this revision.
JojoR added reviewers: kito.cheng, craig.topper.
Herald added subscribers: sunshaoce, VincentWu, StephenFan, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
JojoR requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
Refer to https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#101-vector-arithmetic-instruction-encoding
https://reviews.llvm.org/D137694
Files:
llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
Index: llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
+++ llvm/lib/Target/RISCV/RISCVInstrFormatsV.td
@@ -20,6 +20,7 @@
def OPIVX : RISCVVFormat<0b100>;
def OPFVF : RISCVVFormat<0b101>;
def OPMVX : RISCVVFormat<0b110>;
+def OPCFG : RISCVVFormat<0b111>;
class RISCVMOP<bits<2> val> {
bits<2> Value = val;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137694.474175.patch
Type: text/x-patch
Size: 426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/7d3ae37b/attachment.bin>
More information about the llvm-commits
mailing list