We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zen/+ APU x86 models are 0x11. 0x18. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/k10temp.c#n587
case 0x11: /* Zen APU */ case 0x18: /* Zen+ APU */
However, 0x0f or less is used for znver1 judgment. https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/builtins/cpu_model.c#L478
if (Model <= 0x0f) { *Subtype = AMDFAM17H_ZNVER1; break; // "znver1"; 00h-0Fh: Zen1 }
Is Zen/+ APU determined to be znver1? As far as I know, GCC uses 0x1f or less. https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/i386/cpuinfo.c#L109
The text was updated successfully, but these errors were encountered:
misc-const-correctness
No branches or pull requests
Zen/+ APU x86 models are 0x11. 0x18.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/k10temp.c#n587
However, 0x0f or less is used for znver1 judgment.
https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/builtins/cpu_model.c#L478
Is Zen/+ APU determined to be znver1?
As far as I know, GCC uses 0x1f or less.
https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/i386/cpuinfo.c#L109
The text was updated successfully, but these errors were encountered: