[libre-riscv-dev] [Bug 206] Implement branch prediction

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Wed Mar 4 00:26:10 GMT 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=206

--- Comment #10 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://www.youtube.com/watch?v=yk-U6qqeGE0

i love this guy :) he talks so fast, and makes it clear that you use the first
few bits of the address as the index into the Branch Lookup SRAM.

the entries are:
* the full address (so that you know that you are matching the correct address,
just like a Page Table Entry)
* the last branch address
* the prediction yes/no

so it is actually very similar to Page Tables, which is quite interesting.

will keep looking for more stuff

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list