add recognition of "sv." to pysvp64asm
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 28 Jun 2022 16:30:28 +0000 (17:30 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 28 Jun 2022 16:30:28 +0000 (17:30 +0100)
src/openpower/sv/trans/svp64.py

index 2749d0a1d8dd28172d5fd031264d1dc9c20c162b..c7b01721967362941371ec73d4dae2e61821bdaa 100644 (file)
@@ -1373,7 +1373,7 @@ def asm_process():
             macro = op[4:].split(",")
             (macro, value) = map(str.strip, macro)
             macros[macro] = value
-        if not op.startswith(tuple(CUSTOM_INSNS)):
+        if not op.startswith('sv.') and not op.startswith(tuple(CUSTOM_INSNS)):
             outfile.write(line)
             continue