From 67525ced448353ec9ae529ca1f817b93822a3581 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 16 Aug 2015 05:19:58 -0500 Subject: [PATCH] Test for vpkshus. --- src/xenia/cpu/frontend/testing/instr_vpkshus.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/xenia/cpu/frontend/testing/instr_vpkshus.s diff --git a/src/xenia/cpu/frontend/testing/instr_vpkshus.s b/src/xenia/cpu/frontend/testing/instr_vpkshus.s new file mode 100644 index 000000000..a001ef9a4 --- /dev/null +++ b/src/xenia/cpu/frontend/testing/instr_vpkshus.s @@ -0,0 +1,11 @@ +test_vpkshus_0: + # {-1, -128, 0, 127, -2, -129, 1, 128} + #_ REGISTER_IN v3 [FFFFFF80, 0000007F, FFFEFF7F, 00010080] + # {-3, -130, 2, 129, -4, -131, 3, 130} + #_ REGISTER_IN v4 [FFFDFF7E, 00020081, FFFCFF7D, 00030082] + vpkshus v5, v3, v4 + blr + #_ REGISTER_OUT v3 [FFFFFF80, 0000007F, FFFEFF7F, 00010080] + #_ REGISTER_OUT v4 [FFFDFF7E, 00020081, FFFCFF7D, 00030082] + # {0, 0, 0, 127, 0, 0, 1, 128, 0, 0, 2, 129, 0, 0, 3, 130} + #_ REGISTER_OUT v5 [0000007F, 00000180, 00000281, 00000382]