forked from OSchip/llvm-project
[X86] Add one stepping of Broadwell to the CPU name autodetection for march=native.
llvm-svn: 232927
This commit is contained in:
parent
cd9f7b84bb
commit
1e1b0f732a
|
@ -361,6 +361,12 @@ StringRef sys::getHostCPUName() {
|
|||
// versions instead of the i7 versions).
|
||||
return HasAVX2 ? "core-avx2" : "corei7";
|
||||
|
||||
// Broadwell:
|
||||
case 61:
|
||||
// Not all Broadwell processors support AVX too (such as the Pentium
|
||||
// versions instead of the i7 versions).
|
||||
return HasAVX2 ? "broadwell" : "corei7";
|
||||
|
||||
case 28: // Most 45 nm Intel Atom processors
|
||||
case 38: // 45 nm Atom Lincroft
|
||||
case 39: // 32 nm Atom Medfield
|
||||
|
|
Loading…
Reference in New Issue