[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:28:52 PST 2024
================
@@ -32,6 +32,21 @@ struct RISCVExtensionBitmask {
};
} // namespace RISCVExtensionBitmaskTable
+struct CPUModel {
+ uint32_t MVendorID;
+ uint64_t MArchID;
+ uint64_t MImpID;
----------------
topperc wrote:
Nevermind, the CSR is mimpid. hwprobe is the one that added the 'l' to the name.
https://github.com/llvm/llvm-project/pull/116202
More information about the llvm-commits
mailing list