2 ms·
Yep, and microcomputer processors were also microcoded. See eg 8086 here https://www.righto.com/2022/11/how-8086-processors-microcode-engine.html https://www.ri
by fulafel 3y ago
Yep, and microcomputer processors were also microcoded. See eg 8086 here https://www.righto.com/2022/11/how-8086-processors-microcode-engine.html https://www.righto.com/2022/11/how-8086-processors-microcode...
And current x86 still implement some instructions via microcode. Some are even performance sensitive (eg rep movsb)
- p_l 3y agoP6 architecture was always microcoded - it's even somewhat archetypical example of superscalar microcoded CISC. With quite horizontal microcode.
- fulafel 3y agoFrontend decoding x86 instructions to uops, like from P6 onwards, is a bit different from microcode in the usual terminology. I guess you could make an argument that uops are also a type of microcode. But it gets confusing since there is also traditional ROM based microcode in post-P6 x86 chips.
- p_l 3y agoI don't see much difference, except for the existence of variable length instructions making decode harder. Having fully hardwired decoder from macrocode to microinstruction was pretty normal for early microcoded architectures, because a simplest such decoder is to latch the opcode as part of ROM address with ROM output being a wide microinstruction. If you ensure the indexes are actually multiple microinstructions away from each other (for example, shift opcode to upper part of uOP program counter) you can easily map multiple uOPs when necessary without branching into more complex microcode.