[clang] [llvm] [RISC-V] Added the mips extension instructions like ehb,ihb and pause etc for MIPS RV64 P8700. (PR #155747)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 08:01:23 PDT 2025


================
@@ -125,10 +125,25 @@ class Mips_prefetch_ri<dag outs, dag ins, string opcodestr, string argstr>
   let Inst{6-0} = OPC_CUSTOM_0.Value;
 }
 
+// MIPS Ext Insns Fromat.
+let hasSideEffects = 1, mayLoad = 0,
+    mayStore = 0 in class MIPSExtInst_ri<bits<6> shimm5, string opcodestr>
----------------
topperc wrote:

```suggestion
let hasSideEffects = 1, mayLoad = 0, mayStore = 0 in
class MIPSExtInst_ri<bits<6> shimm5, string opcodestr>
```

https://github.com/llvm/llvm-project/pull/155747


More information about the llvm-commits mailing list