From 20cda810bd467b127d3c14626704a5d38e3142cc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 28 Jun 2022 17:30:28 +0100 Subject: [PATCH] add recognition of "sv." to pysvp64asm --- src/openpower/sv/trans/svp64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 2749d0a1..c7b01721 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -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 -- 2.30.2