[llvm] [RISC-V] Add P-ext MC Support for More Pair Operations (PR #154088)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 11:19:51 PDT 2025
================
@@ -149,6 +149,50 @@ class RVPShiftB_ri<bits<3> f, bits<3> funct3, string opcodestr>
let Inst{22-20} = shamt;
}
+class RVPWideningShift_ri<bits<3> f, string opcodestr, Operand ImmType>
+ : RVInst<(outs GPRPairRV32:$rd), (ins GPR:$rs1, ImmType:$shamt), opcodestr,
+ "$rd, $rs1, $shamt"> {
----------------
topperc wrote:
```suggestion
: RVInst<(outs GPRPairRV32:$rd), (ins GPR:$rs1, ImmType:$shamt), opcodestr,
"$rd, $rs1, $shamt"> {
```
https://github.com/llvm/llvm-project/pull/154088
More information about the llvm-commits
mailing list