From 69ab0fd0be302b3096e692d49af0e577c9df07fc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 11 Sep 2022 12:03:14 +0100 Subject: [PATCH] add sv.isel asm-disasm tests to test_pysvp64dis.py --- src/openpower/sv/trans/test_pysvp64dis.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index 5f9cfc64..8a83c2ba 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -46,6 +46,15 @@ class SVSTATETestCase(unittest.TestCase): ] self._do_tst(expected) + def test_3_sv_isel(self): + expected = [ + 'sv.isel 12,2,3,33', + 'sv.isel 12,2,3,*33', + 'sv.isel 12,2,3,*483', + 'sv.isel 12,2,3,63', + ] + self._do_tst(expected) + if __name__ == "__main__": unittest.main() -- 2.30.2