remove "sv." and replace with "sv" in all SVP64Asm
[soc.git] / src / soc / sv / trans / svp64.py
index 7fb01acd249f06dea514e726a4a63c976621cfe5..21182295e3874df6977f51c00b38fd18ebd45f97 100644 (file)
@@ -179,10 +179,10 @@ class SVP64Asm:
                 continue
 
             # identify if is a svp64 mnemonic
-            if not opcode.startswith('sv.'):
+            if not opcode.startswith('sv'):
                 yield insn  # unaltered
                 continue
-            opcode = opcode[3:] # strip leading "sv."
+            opcode = opcode[2:] # strip leading "sv"
 
             # start working on decoding the svp64 op: sv.basev30Bop/vec2/mode
             opmodes = opcode.split("/") # split at "/"