Skip to content

Commit 9c47e06

Browse files
committedJan 18, 2016
[AVX512] adding AVXVBMI feature flag
Fixing wrong typo (avx515) → (avx512) Review over the shoulder by asaf . Differential Revision: http://reviews.llvm.org/D16190 llvm-svn: 258041
1 parent 6b2322f commit 9c47e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎llvm/lib/Support/Host.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
823823
Features["avx512cd"] = HasLeaf7 && ((EBX >> 28) & 1) && HasAVX512Save;
824824
Features["avx512bw"] = HasLeaf7 && ((EBX >> 30) & 1) && HasAVX512Save;
825825
Features["avx512vl"] = HasLeaf7 && ((EBX >> 31) & 1) && HasAVX512Save;
826-
Features["avx515vbmi"] = HasLeaf7 && ((ECX >> 1) & 1) && HasAVX512Save;
826+
Features["avx512vbmi"] = HasLeaf7 && ((ECX >> 1) & 1) && HasAVX512Save;
827827

828828
bool HasLeafD = MaxLevel >= 0xd &&
829829
!GetX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX);

0 commit comments

Comments
 (0)
Please sign in to comment.