From: Luke Kenneth Casson Leighton Date: Tue, 30 Aug 2022 13:21:14 +0000 (+0100) Subject: Revert "format code" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=645961d2358ae3ad7e101f334f5dac0cbe585c9d;p=openpower-isa.git Revert "format code" This reverts commit 61faa7c3c443a260eaeb58b111ebd464a2031e06. --- diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 8550b3b5..1bb8e697 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -668,7 +668,7 @@ class SVP64Asm: rm = svp64.instrs[v30b_op] # one row of the svp64 RM CSV else: raise Exception(f"opcode {v30b_op_orig!r} of " - f"{insn!r} not an svp64 instruction") + f"{insn!r} not an svp64 instruction") # get regs info e.g. "RT,RA,RB" v30b_regs = isa_instr.regs[0] @@ -1491,7 +1491,7 @@ if __name__ == '__main__': ] lst = [ 'sv.andi. *80, *80, 1', - 'sv.ffmadds. 6.v, 2.v, 4.v, 6.v', # incorrectly inserted 32-bit op + 'sv.ffmadds. 6.v, 2.v, 4.v, 6.v', # incorrectly inserted 32-bit op 'sv.ffmadds 6.v, 2.v, 4.v, 6.v', # correctly converted to .long ] isa = SVP64Asm(lst, macros=macros)