[all-commits] [llvm/llvm-project] b92c2b: [X86] Add CPU name strings to getIntelProcessorTyp...
topperc via All-commits
all-commits at lists.llvm.org
Sun Jul 12 12:59:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b92c2bb6a2058611d727c4e2ce3a928f0a3e647d
https://github.com/llvm/llvm-project/commit/b92c2bb6a2058611d727c4e2ce3a928f0a3e647d
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-12 (Sun, 12 Jul 2020)
Changed paths:
M compiler-rt/lib/builtins/cpu_model.c
Log Message:
-----------
[X86] Add CPU name strings to getIntelProcessorTypeAndSubtype and getAMDProcessorTypeAndSubtype in compiler-rt.
These aren't used in compiler-rt, but I plan to make a similar
change to the equivalent code in Host.cpp where the mapping from
type/subtype is an unnecessary complication. Having the CPU strings
here will help keep the code somewhat synchronized.
Commit: ea84dc9500df383b4fe07199134033f358411e59
https://github.com/llvm/llvm-project/commit/ea84dc9500df383b4fe07199134033f358411e59
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-12 (Sun, 12 Jul 2020)
Changed paths:
M llvm/include/llvm/Support/X86TargetParser.def
M llvm/lib/Support/Host.cpp
Log Message:
-----------
[X86] Add CPU string output to getIntelProcessorTypeAndSubtype/getAMDProcessorTypeAndSubtype in Host.cpp
Rather than converting type/subtype into strings, just directly
select the string as part of family/model decoding. This avoids
the need for creating fake Type/SubTypes for CPUs not supported
by compiler-rtl. I've left the Type/SubType in place where it matches
compiler-rt so that the code can be diffed, but the Type/SubType
is no longer used by Host.cpp.
compiler-rt was already updated to select strings that aren't used
so the code will look similar.
Commit: 90c577a113e97212e02d5956d6db45e701e3552f
https://github.com/llvm/llvm-project/commit/90c577a113e97212e02d5956d6db45e701e3552f
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-12 (Sun, 12 Jul 2020)
Changed paths:
M llvm/lib/Support/Host.cpp
Log Message:
-----------
[X86] Remove model number based detection for 'pentiumpro', 'pentium2', 'pentium3', 'pentium-m', and 'yonah' from getHostCPUName.
For model 6 CPUs, we have a fallback detection method based on
available features. That mechanism should be enough to detect
these early family 6 CPUs as they only differ in the features
used by the detection anyway.
Compare: https://github.com/llvm/llvm-project/compare/445897334741...90c577a113e9
More information about the All-commits
mailing list