diff --git a/src/xenia/cpu/frontend/test/instr_cntlzd.s b/src/xenia/cpu/frontend/test/instr_cntlzd.s index c97b61aad..f59264f2c 100644 --- a/src/xenia/cpu/frontend/test/instr_cntlzd.s +++ b/src/xenia/cpu/frontend/test/instr_cntlzd.s @@ -34,8 +34,7 @@ test_cntlzd_3: #_ REGISTER_OUT r6 0 test_cntlzd_3_constant: - li r5, 0 - not r5, r5 + li r5, -1 cntlzd r6, r5 blr #_ REGISTER_OUT r5 0xFFFFFFFFFFFFFFFF @@ -49,8 +48,7 @@ test_cntlzd_4: #_ REGISTER_OUT r6 1 test_cntlzd_4_constant: - li r5, 0 - not r5, r5 + li r5, -1 srdi r5, r5, 1 cntlzd r6, r5 blr diff --git a/src/xenia/cpu/frontend/test/instr_cntlzw.s b/src/xenia/cpu/frontend/test/instr_cntlzw.s index e3229aa02..f32b85727 100644 --- a/src/xenia/cpu/frontend/test/instr_cntlzw.s +++ b/src/xenia/cpu/frontend/test/instr_cntlzw.s @@ -34,8 +34,7 @@ test_cntlzw_3: #_ REGISTER_OUT r6 0 test_cntlzw_3_constant: - li r5, 0 - not r5, r5 + li r5, -1 srwi r5, r5, 0 cntlzw r6, r5 blr @@ -50,8 +49,7 @@ test_cntlzw_4: #_ REGISTER_OUT r6 1 test_cntlzw_4_constant: - li r5, 0 - not r5, r5 + li r5, -1 srwi r5, r5, 1 cntlzw r6, r5 blr