Add X86 feature detection support for BMI instructions. Added new cpuid function...
authorCraig Topper <craig.topper@gmail.com>
Sun, 16 Oct 2011 00:21:51 +0000 (00:21 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 16 Oct 2011 00:21:51 +0000 (00:21 +0000)
commit4145c49aa0e0e70a51a395bdd4107a464d05e592
tree6b440e53351a2f7115130e6517855a16f9508431
parent566f233ba64c0bb2773b5717cb18753c7564f4b7
Add X86 feature detection support for BMI instructions. Added new cpuid function for accessing leafs with sub leafs specified in ECX. Also added code to keep track of the max cpuid level supported in both basic and extended leaves and qualified the existing cpuid calls and the new call to leaf 7.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142089 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
lib/Target/X86/X86Subtarget.cpp