Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

related: are there any good sources on how you design for out of order processing? I have done a lot of "intro to electronic circuits" stuff that lead to a really basic register-based CPU, but when we get into stuff like OOO or branch prediction stuff I feel like I haven't really seen much on how it can work while keeping your sanity from a design perspective.


Hennessy,Patterson "Computer Architecture: A Quantitative Approach" 6th edition


https://duckduckgo.com/html?q=tomasulo%27s%20algorithm - start reading some various hits. youtube has some useful animations. H&P book (referenced by sibling comment) is good.


https://en.wikipedia.org/wiki/Scoreboarding - the easiest method (and one of earliest ones).

You keep a list (bitmap) of registers (hazards, really - MMU exceptions are hazards too) to be computed, you issue instructions whenever their hazards are cleared (will be cleared just before they read operands).

It is quite on par with the renaming machinery used in contemporary CPUs and is much, much easier to implement.


Perhaps the source for the RISC-V BOOM processor? https://content.riscv.org/wp-content/uploads/2017/12/Wed0936...


If you want to find the source code and some information on how to build and run it, you should check out their new website: https://boom-core.org/





Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: