P6 Micro-Ops: Decode, Flags, Control Flow, and Macro Aliasing 0 ▲ Small Things Retro 17 minutes ago · Tech · hide In the earlier z386 and z486 posts, we watched Intel's 32-bit x86 designs evolve from a microcoded state machine with early-start overlap (386) into a tightly coupled 5-stage pipeline (486). Even on the dual-pipe Pentium (1993), what flowed down the pipeline was still recognizably an x86 instruction: decode logic resolved prefixes and addressing modes, walked the instruction through an in-order datapath, and retired results in lockstep. With the P6 microarchitecture, introduced in the Pentium Pro (1995) and carried forward through Pentium II, Pentium III, and Pentium M, Intel changed things dramatically. Externally, a P6 chip still runs raw 16- and 32-bit IA-32 binaries. Internally, x86 instructions cease to exist after the decoder. Every instruction is translated into P6's private RISC-like instruction set: micro-operations (µops). Booting MS-DOS, entering DOS/4GW 32-bit protected mode, and playing DOOM (doom1.wad, shown at 10× speed) on p6.c—a sequential C simulator of P6 micro-ops. Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town