test_pysvp64dis.py: add tests for broken extras
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 31 May 2023 18:20:28 +0000 (21:20 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 1 Jun 2023 11:17:27 +0000 (12:17 +0100)
src/openpower/sv/trans/test_pysvp64dis.py

index a2e0cc1a44092d840d3ee13b8f89881fa4d833b8..e06fe45e7dbf1105d3d5b4ac1c20493686e0f15f 100644 (file)
@@ -481,5 +481,20 @@ class SVSTATETestCase(unittest.TestCase):
                         ]
         self._do_tst(expected)
 
+    def test_36_extras_rlwimi(self):
+        self._do_tst(["sv.rlwimi 3, 1, 5, 20, 6"])
+
+    def test_36_extras_rlwimi_(self):
+        self._do_tst(["sv.rlwimi. 3, 1, 5, 20, 6"])
+
+    def test_36_extras_rldimi(self):
+        self._do_tst(["sv.rldimi 3, 4, 56, 4"])
+
+    def test_36_extras_rldimi_(self):
+        self._do_tst(["sv.rldimi. 3, 4, 56, 4"])
+
+    def test_36_extras_fishmv(self):
+        self._do_tst(["sv.fishmv 3, 0x0FD0"])
+
 if __name__ == "__main__":
     unittest.main()