From: Luke Kenneth Casson Leighton Date: Sun, 18 Sep 2022 16:14:04 +0000 (+0100) Subject: add unit tests for Rc=1 ffirst/predicate-result X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eefad0e52dbfd0f209113b5762c9b4de41ee0327;p=openpower-isa.git add unit tests for Rc=1 ffirst/predicate-result to test_pysvp64dis.py --- diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index 97df1c51..585bb706 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -221,6 +221,14 @@ class SVSTATETestCase(unittest.TestCase): "sv.add/pr=~RC1 *3,*7,*11", ] + def test_14_rc1_ff_pr(self): + expected = [ + "sv.add./ff=eq *3,*7,*11", + "sv.add./ff=ns *3,*7,*11", + "sv.add./pr=eq *3,*7,*11", + "sv.add./pr=ns *3,*7,*11", + ] + if __name__ == "__main__": unittest.main()