From b04053de1891092631a7ae27f3988d137575c797 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 11 Sep 2022 14:37:35 +0100 Subject: [PATCH] add some CR3 pysvp64dis.py tests, sv.crand --- src/openpower/sv/trans/test_pysvp64dis.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index 8a83c2ba..9423959e 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -55,6 +55,13 @@ class SVSTATETestCase(unittest.TestCase): ] self._do_tst(expected) + def test_4_sv_crand(self): + expected = [ + 'sv.crand *16,*2,*33', + 'sv.crand 12,2,33', + ] + self._do_tst(expected) + if __name__ == "__main__": unittest.main() -- 2.30.2