Fix recognition of Intel CPUs.

llvm-svn: 25750
This commit is contained in:
Jeff Cohen 2006-01-28 18:38:20 +00:00
parent b3ab2d3a42
commit b5de47cd9a
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ static const char *GetCurrentX86CPU() {
GetCpuIDAndInfo(0x80000003, text+4, text+5, text+6, text+7);
GetCpuIDAndInfo(0x80000004, text+8, text+9, text+10, text+11);
char *t = reinterpret_cast<char *>(&text[0]);
while (*t == ' ')
t++;
if (memcmp(t, "Intel", 5) == 0) {
switch (Family) {