[Libre-soc-dev] ISACaller command-line

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sun May 23 22:14:20 BST 2021


Lauri: sorted!
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=ca04665a7b9f54230eb5b8708af9f3e9b446b9f0

the diff looks bigger than it actually is because i had to change the indent
level of a rather large function.  you actually want:
https://git.libre-soc.org/?p=openpower-isa.git;a=tree;f=src/test/basic_svp64_trans;hb=HEAD

it's real simple: pysvp64asm test.s test.sv.s

put anything you like to the left of a comment "#" (do not include labels)
then after the "#" put some svp64 assembly syntax

    can be anything it will be discarded and entirely replaced # sv.extsw
5.v, 1

that example will be replaced with:

    .long 0x5402800; extsw 1, 1 # sv.extsw 5.v, 1

you can if you choose run that in-place, although i would not recommend it,
the command is designed to cope (file-wise), but if there's errors it'll
get trashed
as there's no recovery.

l.


More information about the Libre-soc-dev mailing list