From f9076d08eac99af8939ad142035deceaf0fd7c83 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 16 Aug 2015 16:36:07 -0500 Subject: [PATCH] Test for vsrh. --- src/xenia/cpu/frontend/testing/instr_vsrh.s | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/xenia/cpu/frontend/testing/instr_vsrh.s diff --git a/src/xenia/cpu/frontend/testing/instr_vsrh.s b/src/xenia/cpu/frontend/testing/instr_vsrh.s new file mode 100644 index 000000000..33210f8ce --- /dev/null +++ b/src/xenia/cpu/frontend/testing/instr_vsrh.s @@ -0,0 +1,8 @@ +test_vsrh_1: + #_ REGISTER_IN v3 [12345678, 87654321, 11223344, 55667788] + #_ REGISTER_IN v4 [000D000D, 000D000D, 000D000D, 000D000D] + vsrh v5, v3, v4 + blr + #_ REGISTER_OUT v3 [12345678, 87654321, 11223344, 55667788] + #_ REGISTER_OUT v4 [000D000D, 000D000D, 000D000D, 000D000D] + #_ REGISTER_OUT v5 [00000002, 00040002, 00000001, 00020003]