[Libre-soc-dev] crbinlog / binlog / crternlogi

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Jan 27 10:58:44 GMT 2024


On Mon, Jan 22, 2024 at 2:36 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:

> pseudocode:
>
>     lut <- CR[4*BFB+32:4*BFB+35]
>     idx <- CR[BT+32] || CR[BA+32]
>     CR[BT+32] <- lut[3-idx]
>
> note that BT and BA are *bit*-based, but the LUT2 is a CR *field*.

i am making progress but am having to shuffle instructions
around (existing instructions), move some from PO22 to PO5,
but the extra number of instructions (ternlogi, crternlogi,
crfternlogi, binlog, crbinlog, crfbinlog) will not change, just the
XO encodings and NNN-Forms of those 6.  the existing (moved)
instructions are *not* changing Form, just their PO and their XO.
it's quite a delicate process, making sure everything fits.

l.



More information about the Libre-soc-dev mailing list