[llvm] [RISCV] Add mvendorid/marchid/mimpid to CPU definitions (PR #116202)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 10:27:27 PST 2024


================
@@ -32,6 +32,21 @@ struct RISCVExtensionBitmask {
 };
 } // namespace RISCVExtensionBitmaskTable
 
+struct CPUModel {
+  uint32_t MVendorID;
+  uint64_t MArchID;
+  uint64_t MImpID;
----------------
topperc wrote:

MImplID to match the name of the CSR?

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


More information about the llvm-commits mailing list