From e80e65dec33514f69a4f94b8a338b1b5d92a5ab7 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 10 Nov 2022 17:59:47 -0800 Subject: [PATCH] [RISCV] Add OPCFG format of vector. NFC Refer to https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#101-vector-arithmetic-instruction-encoding Patch by Jiejie Rong Reviewed By: reames Differential Revision: https://reviews.llvm.org/D137694 --- llvm/lib/Target/RISCV/RISCVInstrFormatsV.td | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/RISCV/RISCVInstrFormatsV.td b/llvm/lib/Target/RISCV/RISCVInstrFormatsV.td index 69e9d35..90ae61e 100644 --- a/llvm/lib/Target/RISCV/RISCVInstrFormatsV.td +++ b/llvm/lib/Target/RISCV/RISCVInstrFormatsV.td @@ -20,6 +20,7 @@ def OPIVI : RISCVVFormat<0b011>; def OPIVX : RISCVVFormat<0b100>; def OPFVF : RISCVVFormat<0b101>; def OPMVX : RISCVVFormat<0b110>; +def OPCFG : RISCVVFormat<0b111>; class RISCVMOP val> { bits<2> Value = val; -- 2.7.4