Taking all their processors off the shelves would be suicide.
Taking all their processors off the shelves would be suicide.
Microcode can be loaded by the BIOS.
Doesn't that open a huge attack surface? This code would run super-privileged isn't it?
So there is this layer of software that operates with this x86 interface on a hardware implementation of different instructions.
According to Wikipedia [1], CPUs have had microcode since the 1960s! However, this is mostly an artifact of CISC architectures. Since most programmers these mass-produce their instructions with a compiler rather than with artisinal, hand-crafted assembly code, CISC fell out of favor compared to RISC. Since the RISC instruction sets are simple (by design), there isn't much need for microcode. ARM chips typically don't have microcode (although they do break things into smaller instructions) [2]. But since Intel has to keep compatibility with 40 years of CISC instructions, they need microcode.
[1] https://en.wikipedia.org/wiki/Microcode
[2] https://superuser.com/questions/934752/do-arm-processors-lik...
I suggest Tanenbaum and Austin's "Structured Computer Organization" for a pretty good book about this (and other aspects of CPU design).