From: Luke Kenneth Casson Leighton Date: Sat, 17 Sep 2022 17:50:41 +0000 (+0100) Subject: add sv.add/ew=XX test to test_pysvp64dis.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e07b6d381aaf16fac22ccff6d84a8d715cf62cfd;p=openpower-isa.git add sv.add/ew=XX test to test_pysvp64dis.py --- diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index 9f89edfb..a96e5a13 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -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()