3 ms·
"Has anyone asked and tried to analytically answer what primitive operations an ALU ought to have?" Do you want to go fast, or do you want to get the gate coun
by Animats 10y ago
"Has anyone asked and tried to analytically answer what primitive operations an ALU ought to have?"
Do you want to go fast, or do you want to get the gate count down?
Intel does code measurement to decide which instructions have to go fast, and which don't. Typically they run Windows workloads for this. It's not an analysis from first principles.
The RISC crowd put a lot of effort into trying to reduce the instruction set. They tended to end up with simple instructions that could be hard-wired, and lots of registers. Many early microprocessors were microprogrammed to get the gate count down, and slow because of it. RISC was a reaction to that.
Early RISC thinking focused on not only making all instructions the same length, but making them all take the same time - one instruction per clock. Then superscalar came to microprocessors, with the Pentium Pro, and ordinary CPUs started getting more than one instruction per clock. (Before the Pentium Pro, only supercomputers had that kind of hardware.) This killed the basic advantage of RISC.
Most of the little Forth CPUs are one instruction per clock. Most Forth CPUs can hit the data stack, the call stack, and the main memory, which are all separate, on each cycle.
- gpderetta 10y agoThe Pentium was the first superscalar x86 cpu, at last from Intel. I'm pretty sure there were plenty of superscalar riscs around that time. Pentium pro was the first intel Out Of Order Execution x86. It was a great cpu (it's architecture was used for the next 10 years), but again, there were plenty of workstation and server class ooo RISC at that time. Edit: missing ooo