[llvm] [Xtensa] Implement Xtensa Region Protection Option and several other small Options. (PR #137135)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 01:09:38 PDT 2025


================
@@ -986,6 +986,64 @@ let Predicates = [HasDiv32] in {
   def REMU : ArithLogic_RRR<0x0E, 0x02, "remu", urem>;
 }
 
+//===----------------------------------------------------------------------===//
+// Region Protection feature instructions
+//===----------------------------------------------------------------------===//
+
+let Predicates = [HasRegionProtection] in {
+  def IDTLB : RRR_Inst<0x00, 0x00, 0x05, (outs), (ins AR:$s),
+                     "idtlb\t$s", []> {
+    let r = 0xC;
+	  let t = 0x0;
+  }
+
+  def IITLB : RRR_Inst<0x00, 0x00, 0x05, (outs), (ins AR:$s),
+                     "iitlb\t$s", []> {
+    let r = 0x4;
+	  let t = 0x0;
----------------
arsenm wrote:

Weird indent

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


More information about the llvm-commits mailing list