]> granicus.if.org Git - llvm/commit
[X86] Synchronize the ProcessorFeatures enum used by getHostCPUName with the enum...
authorCraig Topper <craig.topper@intel.com>
Wed, 12 Jul 2017 06:49:58 +0000 (06:49 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 12 Jul 2017 06:49:58 +0000 (06:49 +0000)
commitb8cea18959bc7bc8e7766346499f529be06162f5
tree339155a478e268b70a9d1c254faf66787ee441df
parent5d2f2672b6c099a46f3de7287ee002526f0f5623
[X86] Synchronize the ProcessorFeatures enum used by getHostCPUName with the enum in libgcc and soon compiler-rt.

This adds all the feature bits libgcc has. They will soon be added to compiler-rt as well. This adds a second 32 bit feature variable to hold the bits that are needed by getHostCPUName that are not in libgcc. libgcc had already used 31 of the 32 bits in the existing variable and we needed 3 bits so at minimum 2 bits would spill over. I chose to move all 3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307758 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Host.cpp