[Libre-soc-dev] daily kan-ban update 17may2021

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon May 17 14:13:03 BST 2021


---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Mon, May 17, 2021 at 2:06 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
>
> ---
> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
>
> On Mon, May 17, 2021 at 2:01 PM Luke Kenneth Casson Leighton
> <lkcl at lkcl.net> wrote:
>
> > give me a mo to re-run the compile and run some tests.
>
> ok should be good with this
> https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=6969e56933164c46a5aa6ffd68601ead5b3d4ad9
>
> $ git pull
> $ make pyfnwriter   (this is short)
> $ make pywriter      (long )

a relevant unit test for you btw is this:

$ cd src
$ python3 openpower/decoder/isa/test_caller_fp.py > /tmp/ignoreoutput

https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/test_caller_fp.py;hb=HEAD#l25

it should be reasonably obvious, even not as a python programmer,
that for example test_fpload is testing "lfsx", that it is reading from
a pre-prepared memory with the value 0x42013333 at address 0x0,
and that the expected value in FPR 1 after that instruction is
executed is 0x4040266660000000

l.



More information about the Libre-soc-dev mailing list