add extra pysvp64dis tests for divmod2du and maddedu
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 Oct 2022 16:37:04 +0000 (17:37 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:15 +0000 (19:51 +0100)
src/openpower/sv/trans/test_pysvp64dis.py

index dafd6024a61b7bf3a89c326cc61bf01828753ea2..2a46375d9d6317e7699717d07c75509a9b67a4ef 100644 (file)
@@ -413,6 +413,11 @@ class SVSTATETestCase(unittest.TestCase):
     def test_30_divmod2du(self):
         expected = [
                     "divmod2du 5,4,5,3",
+                    "maddedu 5,4,5,3",
+                    "sv.divmod2du 5,4,5,3",
+                    "sv.divmod2du *6,4,*0,3",
+                    "sv.maddedu 5,4,5,3",
+                    "sv.maddedu *6,4,5,3",
                         ]
         self._do_tst(expected)