[Libre-soc-dev] add asm field to all isatables csv files

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed Mar 17 19:48:25 GMT 2021


On Wednesday, March 17, 2021, Jacob Lifshay <programmerjake at gmail.com>
wrote:

> On Wed, Mar 17, 2021 at 12:10 PM Luke Kenneth Casson Leighton
> <lkcl at lkcl.net> wrote:
> >
> > On Wednesday, March 17, 2021, Jacob Lifshay <programmerjake at gmail.com>
> > wrote:
> >
> > > what do you think of me adding an asm field for the actual assembler
> > > instruction name?
> >
> >
> > mm we kinda get away with it at the moment by stripping the comment field
> > of extraneous crud
>
> yeah, well that's not a very sustainable solution.


the other ones i stripped the crud, i left the 9/blah in for now because we
are not doing FP yet.


> >
> >
> > >  the idea is that field is a single instruction name that
> > > can be used as a unique key
> >
> >
> > doesn't work.  look at isel.
>
> all those lines can be replaced with the single line:
> 0b-----01111,CR,OP_ISEL,RA_OR_ZERO,RB,NONE,RT,BC,NONE,0,0,
> ZERO,0,NONE,0,0,0,0,0,0,NONE,0,1,isel,A
>
> so, afaict that should work.


give it a shot.  see if the same trick works for rotate (minor 30) as well.

apologies i usually comment out lines in test_issuer.py to reduce
completion time.

l.



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


More information about the Libre-soc-dev mailing list