A bit more clean-up

This commit is contained in:
dingusdev
2024-05-09 19:09:06 -07:00
parent a95b06f703
commit ce9a1a6d9e
2 changed files with 8 additions and 3 deletions
+2 -3
View File
@@ -1261,8 +1261,7 @@ void dppc_interpreter::ppc_cmpli() {
return;
}
#endif
int crf_d = (ppc_cur_instruction >> 21) & 0x1C;
ppc_grab_regssauimm(ppc_cur_instruction);
ppc_grab_crfd_regsauimm(ppc_cur_instruction);
uint32_t xercon = (ppc_state.spr[SPR::XER] & XER::SO) >> 3;
uint32_t cmp_c = (ppc_result_a == uimm) ? 0x20000000UL : \
(ppc_result_a > uimm) ? 0x40000000UL : 0x80000000UL;
@@ -1467,7 +1466,7 @@ void dppc_interpreter::ppc_dcbtst() {
}
void dppc_interpreter::ppc_dcbz() {
ppc_grab_regsdab(ppc_cur_instruction);
ppc_grab_regsab(ppc_cur_instruction);
ppc_effective_address = ppc_result_b + (reg_a ? ppc_result_a : 0);
ppc_effective_address &= 0xFFFFFFE0UL; // align EA on a 32-byte boundary