News for hackers. Stuff that matters.
Re:BOOM v2: an open-source out-of-order RISC-V core by mhh__ on Tuesday September 26, 2017 @07:16PM (#15343485)
Doing OOO optimizations in the compiler (Same applies for VLIW etc.) generally requires the ISA to expose its's pipeline to the compiler: This is a complete paradigm shift from current architecture.

Also, special invariants are sometimes needed/helpful to avoid data hazards/simplify data dependencies: e.g. the Mill cpu effectively has no general purpose registers, but an FILO stack of immutable items (This guarantees SSA on the data the cpu is operating on).

Re:BOOM v2: an open-source out-of-order RISC-V core by deepnotderp on Wednesday September 27, 2017 @01:35AM (#15345165)
> Doing OOO optimizations in the compiler (Same applies for VLIW etc.) generally requires the ISA to expose its's pipeline to the compiler: This is a complete paradigm shift from current architecture.

Not really, exposed pipeline is pretty common in the VLIW world.

Re:BOOM v2: an open-source out-of-order RISC-V core by mhh__ on Wednesday September 27, 2017 @11:39AM (#15348883)
VLIW is uncommon outside of DSPs.
Re:BOOM v2: an open-source out-of-order RISC-V core by phs2501 on Tuesday September 26, 2017 @09:00PM (#15344059)
The Mill belt is actually (conceptually) a fixed-size FIFO queue; LIFO stacks have been done reasonably often before (see stack machines) but since there's only one stack head they don't support parallel operations particularly well.
Re:BOOM v2: an open-source out-of-order RISC-V core by crest on Wednesday September 27, 2017 @11:54AM (#15349066)
There have been CPUs with multiple datastacks e.g. https://bernd-paysan.de/4stack.html is a VLIW ISA with a very dense encoding and "just less ports" to the register file than a classic DSP.
Re:BOOM v2: an open-source out-of-order RISC-V core by phs2501 on Wednesday September 27, 2017 @07:09PM (#15353192)
Thanks, that's very interesting. Seems like it'd also be "interesting" to write a compiler for though, especially since you have to manage stack hygiene for four stacks simultaneously. And I'm not sure, but doesn't allowing each functional unit to directly read the top four entries of the other FUs' stacks reintroduce some of the kind of potential hazards that the Mill belt (with its SSA-style usage) tries to avoid?