From ac4337cabf8a48a9a569b662ecff26c098a4c7e5 Mon Sep 17 00:00:00 2001 From: gibbed Date: Thu, 14 May 2015 16:02:44 -0500 Subject: [PATCH] CR1 tests for fabs (disabled). --- src/xenia/cpu/frontend/test/instr_fabs.s | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/xenia/cpu/frontend/test/instr_fabs.s b/src/xenia/cpu/frontend/test/instr_fabs.s index 5d3c35d90..60fc68477 100644 --- a/src/xenia/cpu/frontend/test/instr_fabs.s +++ b/src/xenia/cpu/frontend/test/instr_fabs.s @@ -15,3 +15,27 @@ test_fabs_3: fabs f1, f1 blr #_ REGISTER_OUT f1 1234.0 + +#test_fabs_cr_1: +# #_ REGISTER_IN f1 1.0 +# fabs. f1, f1 +# mfcr r12 +# blr +# #_ REGISTER_OUT f1 1.0 +# #_ REGISTER_OUT r12 0x04000000 + +#test_fabs_cr_2: +# #_ REGISTER_IN f1 -1.0 +# fabs. f1, f1 +# mfcr r12 +# blr +# #_ REGISTER_OUT f1 1.0 +# #_ REGISTER_OUT r12 0x08000000 + +#test_fabs_cr_3: +# #_ REGISTER_IN f1 -1234.0 +# fabs. f1, f1 +# mfcr r12 +# blr +# #_ REGISTER_OUT f1 1234.0 +# #_ REGISTER_OUT r12 0x08000000