[clang] [llvm] [RISCV] Add CSRs and an instruction for Smctr and Ssctr extensions. (PR #105148)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 10:49:37 PDT 2024


================
@@ -839,6 +839,14 @@ def HLV_D   : HLoad_r<0b0110110, 0b00000, "hlv.d">, Sched<[]>;
 def HSV_D   : HStore_rr<0b0110111, "hsv.d">, Sched<[]>;
 }
 
+let Predicates = [HasStdExtSmctrOrSsctr] in {
+def SCTRCLR : Priv<"sctrclr", 0b0001000>, Sched<[]> {
----------------
dtcxzyw wrote:

Missing MC tests for `sctrclr`.

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


More information about the llvm-commits mailing list