[PATCH] D133863: [RISCV] Add MC support of RISCV zcmt Extension

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 30 10:06:16 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCV.td:367
+                       [FeatureExtZca]>; // TODO: add Zicsr as another dependence
+def HasStdExtZcmt : Predicate<"Subtarget->hasStdExtZcmt() && !Subtarget->hasStdExtC()">,
+                           AssemblerPredicate<(all_of FeatureExtZcmt, (not FeatureStdExtC)),
----------------
reames wrote:
> Wait, Zcmt can't be enabled if C is?  That seems odd...
I think Zcmt reuses encodings from the FP part of C. That's why C was split into Zca, Zcf, and Zcd.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133863/new/

https://reviews.llvm.org/D133863



More information about the cfe-commits mailing list