diff mbox series

[PULL,19/21] tests/tcg/tricore: Add test from 'shuffle' to 'xor.t'

Message ID 20230927093552.493279-20-kbastian@mail.uni-paderborn.de (mailing list archive)
State New, archived
Headers show
Series [PULL,01/21] tests/tcg/tricore: Bump cpu to tc37x | expand

Commit Message

Bastian Koppelmann Sept. 27, 2023, 9:35 a.m. UTC
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-ID: <20230913105326.40832-9-kbastian@mail.uni-paderborn.de>
---
 tests/tcg/tricore/asm/test_arith.S | 34 ++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
diff mbox series

Patch

diff --git a/tests/tcg/tricore/asm/test_arith.S b/tests/tcg/tricore/asm/test_arith.S
index 728509cfa9..02637f89f9 100644
--- a/tests/tcg/tricore/asm/test_arith.S
+++ b/tests/tcg/tricore/asm/test_arith.S
@@ -242,5 +242,39 @@  _start:
     TEST_D_DD(sha.h, 238, 0x10006000, 0x84010b96 ,0xc20875ac )
     TEST_D_DI(shas, 239, 0x7fffffff, 0x539952ab ,0x1f )
     TEST_D_DD(shas, 240, 0x20b5a5, 0x416b4be8 ,0x11eb83b7 )
+    TEST_D_DI(shuffle, 241, 0xed28c9ed, 0x28e9edc9 ,0x71 )
+    TEST_D_DD(sub, 242, 0x3806b676, 0x56f5e4bc ,0x1eef2e46 )
+    TEST_D_D(sub, 243, 0xc98e16b7, 0x3671e949 )
+    TEST_D_D15D(sub, 244, 0xf5bbbabd, 0x6a8db6c ,0x10ed20af )
+    TEST_D15_DD(sub, 245, 0x5618f5a0, 0xa6342636 ,0x501b3096 )
+    TEST_D_DD(sub.b, 246, 0x9ced6d25, 0x28dbb9ee ,0x8cee4cc9 )
+    TEST_D_DD(sub.h, 247, 0xc80b12d0, 0xbe0897d3 ,0xf5fd8503 )
+    TEST_D_DD(subc, 248, 0xbeeccedb, 0x2164d45a ,0x6278057e )
+    TEST_D_DD(subs, 249, 0x90d370bc, 0x95060d13 ,0x4329c57 )
+    TEST_D_D(subs, 250, 0xd89c4149, 0x2763beb7 )
+    TEST_D_DD(subs.h, 251, 0xad93dfea, 0x2c97e0d1 ,0x7f0400e7 )
+    TEST_D_DD(subs.hu, 252, 0x33f6, 0xa768372d ,0xc80b0337 )
+    TEST_D_DD(subs.u, 253, 0x0, 0x7084c694 ,0x90c2f594 )
+    TEST_D_DD(subx, 254, 0xd19a2948, 0x7c40dcf9 ,0xaaa6b3b1 )
+    TEST_E_D(unpack, 255, 0x6405b000 ,0xffffffa5, 0x12480b60 )
+    TEST_D_DI(xnor, 256, 0x83b45e8d, 0x7c4ba167 ,0x15 )
+    TEST_D_DD(xnor, 257, 0x6808b995, 0x2fdb8402 ,0xb82cc268 )
+    TEST_D_DIDI(xnor.t, 258, 0x1, 0x490ac395 ,0x6 ,0x6c41105b ,0x6 )
+    TEST_D_DI(xor, 259, 0x2f27c804, 0x2f27c860 ,0x64 )
+    TEST_D_DD(xor, 260, 0xa020af5b, 0x67f62bea ,0xc7d684b1 )
+    TEST_D_D(xor, 261, 0xbc28874, 0xbc28874 )
+    TEST_D_DI(xor.eq, 262, 0x0, 0xee9e03cc ,0x7b )
+    TEST_D_DD(xor.eq, 263, 0x0, 0x74f79928 ,0x2d3ec476 )
+    TEST_D_DI(xor.ge, 264, 0x0, 0xcf2296f1 ,0xf0 )
+    TEST_D_DD(xor.ge, 265, 0x0, 0xf9915543 ,0x20cb6ab7 )
+    TEST_D_DI(xor.ge.u, 266, 0x1, 0xaa8a78f6 ,0xce )
+    TEST_D_DD(xor.ge.u, 267, 0x0, 0x94e9f87 ,0xab43f3ce )
+    TEST_D_DI(xor.lt, 268, 0x0, 0x3412e315 ,0xcb )
+    TEST_D_DD(xor.lt, 269, 0x1, 0x5571b703 ,0x6a9008a3 )
+    TEST_D_DI(xor.lt.u, 270, 0x0, 0x66a0a3c0 ,0xe1 )
+    TEST_D_DD(xor.lt.u, 271, 0x0, 0xa66deb02 ,0x7dd7b425 )
+    TEST_D_DI(xor.ne, 272, 0x1, 0x147b3e3a ,0xfa )
+    TEST_D_DD(xor.ne, 273, 0x1, 0x92147ec0 ,0xa697f601 )
+    TEST_D_DIDI(xor.t, 274, 0x0, 0xed9ea075 ,0x7 ,0x13f5d03c ,0x7 )
 
     TEST_PASSFAIL