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

Sam Elliott via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 20 10:36:34 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<[]> {
----------------
lenary wrote:

This doesn't look like it has assembly tests, I think?

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


More information about the cfe-commits mailing list