Re:How AMD Won, Then Lost
by TazeTSchnitzel on Thursday December 10, 2015 @07:25AM
(#10710273)
It wasn't just AMD, Intel was crippling performance on any non-Intel CPU. All x86 CPUs have an instruction, CPUID, that allows you to check for the presence of various features and instruction sets (MMX, x86-64, SSE, etc.). The standard way to generate backwards-compatible code which uses newer instructions is to check the flag, and run the version with the new feature if the flag is there, otherwise use older instructions.
Intel, though, would not only check if the CPU supported a feature, but also if the CPU was made by Intel. Essentially, Intel's compiler would generate code like "if Intel, run fast, if not Intel, run slowly."
Intel, though, would not only check if the CPU supported a feature, but also if the CPU was made by Intel. Essentially, Intel's compiler would generate code like "if Intel, run fast, if not Intel, run slowly."