From e07b6d381aaf16fac22ccff6d84a8d715cf62cfd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Sep 2022 18:50:41 +0100 Subject: [PATCH] add sv.add/ew=XX test to test_pysvp64dis.py --- src/openpower/sv/trans/test_pysvp64dis.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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() -- 2.30.2