[llvm] r258041 - [AVX512] adding AVXVBMI feature flag
Michael Zuckerman via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 03:12:47 PST 2016
Author: mzuckerm
Date: Mon Jan 18 05:12:47 2016
New Revision: 258041
URL: http://llvm.org/viewvc/llvm-project?rev=258041&view=rev
Log:
[AVX512] adding AVXVBMI feature flag
Fixing wrong typo (avx515) → (avx512)
Review over the shoulder by asaf .
Differential Revision: http://reviews.llvm.org/D16190
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=258041&r1=258040&r2=258041&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Mon Jan 18 05:12:47 2016
@@ -823,7 +823,7 @@ bool sys::getHostCPUFeatures(StringMap<b
Features["avx512cd"] = HasLeaf7 && ((EBX >> 28) & 1) && HasAVX512Save;
Features["avx512bw"] = HasLeaf7 && ((EBX >> 30) & 1) && HasAVX512Save;
Features["avx512vl"] = HasLeaf7 && ((EBX >> 31) & 1) && HasAVX512Save;
- Features["avx515vbmi"] = HasLeaf7 && ((ECX >> 1) & 1) && HasAVX512Save;
+ Features["avx512vbmi"] = HasLeaf7 && ((ECX >> 1) & 1) && HasAVX512Save;
bool HasLeafD = MaxLevel >= 0xd &&
!GetX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX);
More information about the llvm-commits
mailing list