================ @@ -813,6 +815,12 @@ def MRET : Priv<"mret", 0b0011000>, Sched<[]> { let rs1 = 0; let rs2 = 0b00010; } + +def MNRET : Priv<"mnret", 0b0111000>, Sched<[]> { ---------------- lenary wrote: Nice, thanks! https://github.com/llvm/llvm-project/pull/111668