[libre-riscv-dev] [Bug 313] Create Branch Pipeline for POWER9

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri May 22 03:39:44 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=313

--- Comment #31 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/power_decoder2.py;h=dbd87f967255f97bbec0b47a2b295780d6381033;hb=e46a1253d05ea47b9e62714ed50bcec6a7530d0f#l299

is that supposed to be a full 32 bit ranged lookup?

for branch, the full 32 bit CR is needed and BI looks up ...

oh i see.

the idea is to use 3 bits of BI to look up CR00 to 7

then in OP_BC look up the remaining 2 bits of BI to select which bit of CRn is
to be used, right?

that's neat because different branches ysing different CRs would not block on
the CR regfile.

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


More information about the libre-riscv-dev mailing list