From: Luke Kenneth Casson Leighton Date: Mon, 29 Aug 2022 09:45:41 +0000 (+0100) Subject: add two instructions demoing broken commit 0e80cab3b809d43 X-Git-Tag: sv_maxu_works-initial~72 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5023b11becf9b5379532de6f22ad72d0d51e6260;p=openpower-isa.git add two instructions demoing broken commit 0e80cab3b809d43 --- 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