X86: Fix the ordering of the vendor string reported by CPUID.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 19 Apr 2009 11:13:45 +0000 (04:13 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 19 Apr 2009 11:13:45 +0000 (04:13 -0700)
src/arch/x86/cpuid.cc

index 4ac7a5d190b8c61d6725fa2a7fe713d4bc19e548..cbd1defee0c6ae0c72e8e48c462388c3b46b1276 100644 (file)
@@ -113,8 +113,8 @@ namespace X86ISA {
                     result = CpuidResult(
                             stringToRegister(cleanName + offset + 0),
                             stringToRegister(cleanName + offset + 4),
-                            stringToRegister(cleanName + offset + 8),
-                            stringToRegister(cleanName + offset + 12));
+                            stringToRegister(cleanName + offset + 12),
+                            stringToRegister(cleanName + offset + 8));
                 }
                 break;
               case L1CacheAndTLB: