From: Luke Kenneth Casson Leighton Date: Tue, 4 Apr 2023 15:10:02 +0000 (+0100) Subject: add quick test_pysvp64dis.py of LD/ST data-dependent fail-first X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da01f438a010b3f3bafe30d19c7c9dcf3ac01723;p=openpower-isa.git add quick test_pysvp64dis.py of LD/ST data-dependent fail-first --- diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index 03c9e571..ed174324 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -445,5 +445,23 @@ class SVSTATETestCase(unittest.TestCase): ] self._do_tst(expected) + def test_32_ldst_idx_ffirst(self): + expected = [ + "sv.stdx/ff=RC1 *4,16,2", + "sv.stdx/ff=~RC1 *4,16,2", + "sv.ldx/ff=RC1 *4,16,2", + "sv.ldx/ff=~RC1 *4,16,2", + ] + self._do_tst(expected) + + def test_33_ldst_imm_ffirst(self): + expected = [ + "sv.std/ff=RC1 *4,16(2)", + "sv.std/ff=~RC1 *4,16(2)", + "sv.ld/ff=RC1 *4,16(2)", + "sv.ld/ff=~RC1 *4,16(2)", + ] + self._do_tst(expected) + if __name__ == "__main__": unittest.main()