From 2fbdc7f20190afaa98a504708ae2114107f765e4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Sep 2022 16:53:28 +0100 Subject: [PATCH] add vec2/3/4 test_pysvp64dis test --- src/openpower/sv/trans/test_pysvp64dis.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index 44ebf136..9f89edfb 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -172,6 +172,14 @@ class SVSTATETestCase(unittest.TestCase): dis = lambda entry: sv_binutils_fptrans.dis(entry, binutils=False) self._do_tst(list(map(dis, entries))) + def test_10_vec(self): + expected = [ + "sv.add./vec2 *3,*7,*11", + "sv.add./vec3 *3,*7,*11", + "sv.add./vec4 *3,*7,*11", + ] + self._do_tst(expected) + if __name__ == "__main__": unittest.main() -- 2.30.2