[Libre-soc-dev] ISACaller command-line

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat May 22 00:13:38 BST 2021


lauri i just remembered, important phase is to have a commandline tool
which processes SVP64 and inserts the appropriate ".long" in front of a
32bit v3.0b asm op.

what i was going to do was search for lines with a comment and replace any
assembler in that line with the .long plus v3.0b suffix.  leave the comment
in so that it is human readable.

what this will *not* cope with is gnu-as macro substitution.  if you do
happen to need that it needs to be done *before*, as an additional
pre-processing step.

i will create another example next to this one
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/test/basic_pypowersim/Makefile;hb=HEAD

l.



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


More information about the Libre-soc-dev mailing list