From 5023b11becf9b5379532de6f22ad72d0d51e6260 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 29 Aug 2022 10:45:41 +0100 Subject: [PATCH] add two instructions demoing broken commit 0e80cab3b809d43 --- src/openpower/sv/trans/svp64.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 3aff2357..4ae283e9 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -1505,9 +1505,11 @@ 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', # correctly converted to .long ] isa = SVP64Asm(lst, macros=macros) - log("list", list(isa)) + log("list:\n", "\n\t".join(list(isa))) # running svp64.py is designed to test hard-coded lists # (above) - which strictly speaking should all be unit tests. # if you need to actually do assembler translation at the -- 2.30.2