diff --git a/src/xenia/cpu/frontend/testing/instr_vupkhsh.s b/src/xenia/cpu/frontend/testing/instr_vupkhsh.s index e4ec3765c..1f4c6414e 100644 --- a/src/xenia/cpu/frontend/testing/instr_vupkhsh.s +++ b/src/xenia/cpu/frontend/testing/instr_vupkhsh.s @@ -9,3 +9,11 @@ test_vupkhsh_1: vupkhsh v3, v3 blr #_ REGISTER_OUT v3 [00007f80, 00000203, 00000405, 00000607] + +test_vupkhsh_2: + # {-4, -3, -2, -1, 0, 1, 2, 3} + #_ REGISTER_IN v3 [FFFCFFFD, FFFEFFFF, 00000001, 00020003] + vupkhsh v3, v3 + blr + # {-4, -3, -2, -1} + #_ REGISTER_OUT v3 [FFFFFFFC, FFFFFFFD, FFFFFFFE, FFFFFFFF] diff --git a/src/xenia/cpu/frontend/testing/instr_vupklsh.s b/src/xenia/cpu/frontend/testing/instr_vupklsh.s index 1a4529be8..6295744fd 100644 --- a/src/xenia/cpu/frontend/testing/instr_vupklsh.s +++ b/src/xenia/cpu/frontend/testing/instr_vupklsh.s @@ -9,3 +9,11 @@ test_vupklsh_1: vupklsh v3, v3 blr #_ REGISTER_OUT v3 [00007f80, 00000a0b, 00000c0d, 00000e0f] + +test_vupklsh_2: + # {-4, -3, -2, -1, 0, 1, 2, 3} + #_ REGISTER_IN v3 [FFFCFFFD, FFFEFFFF, 00000001, 00020003] + vupklsh v3, v3 + blr + # {-4, -3, -2, -1} + #_ REGISTER_OUT v3 [00000000, 00000001, 00000002, 00000003]