From 114409ea2f38f67e6869c5968d155427b852049b Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 9 Jun 2015 19:31:44 -0500 Subject: [PATCH] Test for vsr. --- src/xenia/cpu/frontend/test/instr_vsr.s | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/xenia/cpu/frontend/test/instr_vsr.s diff --git a/src/xenia/cpu/frontend/test/instr_vsr.s b/src/xenia/cpu/frontend/test/instr_vsr.s new file mode 100644 index 000000000..7339007e7 --- /dev/null +++ b/src/xenia/cpu/frontend/test/instr_vsr.s @@ -0,0 +1,7 @@ +test_vsr_1: + #_ REGISTER_IN v3 [FEFEFEFE, FEFEFEFE, FEFEFEFE, FEFEFEFE] + #_ REGISTER_IN v4 [04040404, 04040404, 04040404, 04040404] + vsr v3, v3, v4 + blr + #_ REGISTER_OUT v3 [0FEFEFEF, EFEFEFEF, EFEFEFEF, EFEFEFEF] + #_ REGISTER_OUT v4 [04040404, 04040404, 04040404, 04040404]