add sv.add/ew=XX test to test_pysvp64dis.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 17 Sep 2022 17:50:41 +0000 (18:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 17 Sep 2022 17:50:41 +0000 (18:50 +0100)
src/openpower/sv/trans/test_pysvp64dis.py

index 9f89edfb5cf124a95b8acc04f00301d5b2e90006..a96e5a13da21fe09f69c6a37c1bf1cf5107245ed 100644 (file)
@@ -180,6 +180,14 @@ class SVSTATETestCase(unittest.TestCase):
                         ]
         self._do_tst(expected)
 
+    def test_11_elwidth(self):
+        expected = [
+                    "sv.add./ew=8 *3,*7,*11",
+                    "sv.add./ew=16 *3,*7,*11",
+                    "sv.add./ew=32 *3,*7,*11",
+                        ]
+        self._do_tst(expected)
+
 if __name__ == "__main__":
     unittest.main()