[compiler-rt] [llvm] [X86] Add znver2 detection for Renoir CPUs (PR #74955)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 19:04:55 PST 2023
boomanaiden154 wrote:
I've updated it to match the `k10temp.c` listing (Mendocino is Zen2 despite using a different core chiplet die offset for the temperature reporting in the kernel from what I can gather). This adds in the following arches:
1. Renoir
2. Lucienne
3. Mendocino
These are all covered by `k10temp.c` (unlike Van Gogh (Steam deck APU) and the Xbox Series X APU which we wouldn't expect to have public information about either way).
I've also adjusted the detection for Rome/Castle Peak to be a specific value rather than a range as only `0x31` seems to exist (and only `0x31` is covered in `k10temp.c`). I've mirrored the range from `k10temp.c` for Mendocino.
https://github.com/llvm/llvm-project/pull/74955
More information about the llvm-commits
mailing list