5 ms·
If I am correct, the Pentium Pro was the first "out of order" design. It specialized in 32-bit code, and did not handle 16-bit code very well. The original Pen
by chasil 7mo ago
If I am correct, the Pentium Pro was the first "out of order" design. It specialized in 32-bit code, and did not handle 16-bit code very well.
The original Pentium I believe introduced a second pipeline that required a compiler to optimize for it to achieve maximum performance.
AMD actually made successful CPUs based on Berkeley RISC, similar to SPARC (they used register windows). The AMD K5 had this RISC CPU at its core. AMD bought NexGen and improved their RISC design for the K6 then Athlon.
- squater 7mo agoSmall correction, Pentium Pro was the first OoO microprocessor from Intel. Others like IBM POWER1 came earlier
- chasil 7mo agoVery true, Bob Colwell was hired with past experience in this, I think from "Cyndrome" (edit: Multiflow). https://news.ycombinator.com/item?id=38459128 https://news.ycombinator.com/item?id=38459128
- p_l 7mo agoIt was intel's (at least) second OoO processor, after i960 - from which it pulled important team members.
- gpderetta 7mo agoWas i960 OoO?
- p_l 7mo agoYes, with branch prediction and speculative execution too
- gpderetta 7mo agoInteresting, apparently it did scoreboarding like the CDC6600 and allowed multiple memory loads in flight, but I can't find a definite statement on whether it did renaming (I.e. writes to the same registers stalled). It might not be OoO as per modern definition, but is also not a fully on-order design.
- jabl 7mo agoOoO is a surprisingly old idea, first used in the IBM System/360 Model 91 released all the way back in 1966. https://en.wikipedia.org/wiki/Tomasulo's_algorithm https://en.wikipedia.org/wiki/Tomasulo's_algorithm Took a while until transistor budgets allowed it to be implemented in consumer microprocessors.
- twoodfin 7mo agoAlso for the gap between CPU speed and memory speed to matter enough for it to be worthwhile.
- phire 7mo agoI'm really not sure if POWER1 and PowerPC 603 should be counted as OoO or not. It's certainly not the same kind of OoO. They had register renaming¹, But only enough storage for a few renamed registers. And they didn't have any kind of scheduler. The lack of a scheduler meant execution units still executed all instructions in program order. The only way you could get out-of-order execution is when instructions went down different pipelines. A floating point instruction could finish execution before a previous integer instruction even started, but you could never execute two floating point instructions Out-of-Order. Or two memory instructions, or two integer instructions. While the Pentium Pro had a full scheduler. Any instruction within the 40 μop reorder buffer could theoretically execute in any order, depending on when their dependencies were available. Even on the later PowerPCs (like the 604) that could reorder instructions within an execution unit, the scheduling was still very limited. There was only a two entry reservation station in front of each execution unit, and it would pick whichever one was ready (and oldest). One entry could hold a blocked instruction for quite a while many later instructions passed it through the second entry. And this two-entry reservation station scheme didn't even seem to work. The laster PowerPC 750 (aka G3) and 7400 (aka G4) went back to singe entry reservation stations on every execution unit except for the load-store units (which stuck with two entries). It's not until the PowerPC 970 (aka G5) that we see a PowerPC design with substantial reordering capabilities. ¹ well on the PowerPC 603, only the FPU had register naming, but the POWER1 and all later PowerPCs had integer register renaming
- twoodfin 7mo agoBecause of the branding change, history will remember the Pentium (P5). It was really the Pentium Pro (P6) that put Intel leaps ahead on x86 microarchitecture, a lead they’d hold with only a few minor stumbles for two decades. Bob Colwell (mentioned elsewhere ITT) wrote a fascinating technical history of the P6: The Pentium Chronicles.
- consp 7mo agoThe major stumble being having to cross licence AMD for the x64 opcode design thus ensuring at least two players in the field (and due to how it's going only two).
- twoodfin 7mo agoThey also started to slip behind AMD in the Pentium 4/NetBurst era, but got their footing back with Core (a more direct descendant of the P6 than the Pentium 4!) Around the same time, but I’d classify as separate stumbles.
- rasz 7mo agoDuring P4 Intel kept their footing with bribes. Article touches on this "Some companies, notably Dell, remained Intel-only well into the 21st century," Dell was receiving $1Billion a year in bribes from Intel https://247wallst.com/consumer-electronics/2007/02/02/micheal_dells_o/ https://247wallst.com/consumer-electronics/2007/02/02/michea... "The documents filed in District Court claim that there were $1 billion in kickbacks and payments." That was the only way to make big boys plunge into Pentium 4 with Rambus fiasco.
- dspillett 7mo ago> The original Pentium I believe introduced a second pipeline that required a compiler to optimize for it to achieve maximum performance. It wasn't a full pipeline, but large parts of the integer ALU and related circuitry were duplicated so that complex (time-consuming) instructions like multiply could directly follow each other without causing a pipeline bubble. Things were still essentially executed entirely in-order but the second MUL (or similar) could start before the first was complete, if it didn't depend upon the result of the first, and the Pentium line had a deeper pipeline than previous Intel chips to take most advantage of this. The compiler optimisations, and similar manual code changes with the compiler wasn't bright enough, were to reduce the occurrence of instructions depending on the results of the instructions before, which would make the pipeline bubble come back as the subsequent instructions couldn't be started until the current one was complete. This was also a time when branch prediction became a major concern, and further compiler optimisations (and manual coding tricks) were used to help here too, because aborting a deep pipeline because of a branch (or just stalling the pipeline at the conditional branch point until the decision is made) causes quite a performance cost.
- Tuna-Fish 7mo agoThe Pentium was not just pipelined but also superscalar; it had two pipelines (U and V). U implemented all instructions, V only implemented a subset of simpler ones, and only when using simple (prefix-less) encodings. As the CPU was not out of order, to execute two instructions per clock you had to pair them so that the second one was simple, and did not use the output of the first one. Existing code and most compilers around at the time were generally bad at this, but things like inner render loops in games could make a lot of use if you wrote them in assembly.
- NetMageSCW 7mo agoThat reminds of using the pencil method on an Athlon to overclock.
- antod 7mo agoDidn't the Celeron 333 (easily overclockable to 450) also have a similar pencil short hack to enable SMP in a dual slot mb?