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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat Jan 20 21:53:52 GMT 2024


On Saturday, January 20, 2024, Dmitry Selyutin via Libre-soc-dev <
libre-soc-dev at lists.libre-soc.org> wrote:
> Congrats! If I'm not mistaken, crternlogi should work similar to ternlogi,
> but with CRs, right?

yeees. so you can do this in one instruction:

   CR0 = CR0 & CR2 ^ ~CR3

>I also don't remember whether I met binlog.

a dynamic lookup table (like an FPGA) but runtime
reprogrammable

> Do we have
> any doc pages for these insns?

of course! :)
oh, err i just have to fire up my laptop and git push
https://libre-soc.org/openpower/isa/bitmanip/
but in the meantime check here
https://git.libre-soc.org/?p=libreriscv.git;a=blob;f=openpower/sv/tern_bin.mdwn;hb=HEAD

oh hang on i know, in a branch:
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=openpower/isa/bitmanip.mdwn;h=0c2d735eb58cf7ab664c3f144d90c205058f7a13;hb=refs/heads/bug_1034_cr_bin_and_tern


> Also, any ideas on how soon we need these in binutils? I assume we need
> them in gas and objdump as well.

errr.. i forgot about those.  let me add you to 1034.
rough budget estimate? it is only 3 instructions.
let's move to the bugtracker?

> Best regards,
> Dmitry
> _______________________________________________
> Libre-soc-dev mailing list
> Libre-soc-dev at lists.libre-soc.org
> http://lists.libre-soc.org/mailman/listinfo/libre-soc-dev
>

-- 
---
geometry: without it life is pointless
the fibonacci series: easy as 1 1 2 3


More information about the Libre-soc-dev mailing list