From: Luke Kenneth Casson Leighton Date: Sun, 11 Sep 2022 13:37:35 +0000 (+0100) Subject: add some CR3 pysvp64dis.py tests, sv.crand X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b04053de1891092631a7ae27f3988d137575c797;p=openpower-isa.git add some CR3 pysvp64dis.py tests, sv.crand --- 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()