void *drc_local = (char *)regs - LO_psxRegs;
assert(drc_local == dynarec_local);
- evprintf("ari64_execute %08x, %u->%u (%d)\n", regs->pc,
- regs->cycle, regs->next_interupt, regs->next_interupt - regs->cycle);
+ evprintf("+exec %08x, %u->%u (%d)\n", regs->pc, regs->cycle,
+ regs->next_interupt, regs->next_interupt - regs->cycle);
new_dyna_start(drc_local);
- evprintf("ari64_execute end %08x, %u->%u (%d)\n", regs->pc,
- regs->cycle, regs->next_interupt, regs->next_interupt - regs->cycle);
+ evprintf("-exec %08x, %u->%u (%d) stop %d \n", regs->pc, regs->cycle,
+ regs->next_interupt, regs->next_interupt - regs->cycle, regs->stop);
}
static void ari64_execute(struct psxRegisters *regs)
ldr r10, [fp, #LO_cycle]
ldr r0, [fp, #LO_pcaddr]
ldr r1, [fp, #LO_next_interupt]
- ldr r2, [fp, #LO_stop]
+ ldrb r2, [fp, #LO_stop]
str r1, [fp, #LO_last_count]
sub r10, r10, r1
tst r2, r2
/* note: psxException might do recursive recompiler call from it's HLE code,
* so be ready for this */
FUNCTION(jump_to_new_pc):
- ldr r2, [fp, #LO_stop]
+ ldrb r2, [fp, #LO_stop]
ldr r1, [fp, #LO_next_interupt]
ldr r10, [fp, #LO_cycle]
ldr r0, [fp, #LO_pcaddr]
ldr rCC, [rFP, #LO_cycle]
ldr w0, [rFP, #LO_pcaddr]
ldr w1, [rFP, #LO_next_interupt]
- ldr w2, [rFP, #LO_stop]
+ ldrb w2, [rFP, #LO_stop]
str w1, [rFP, #LO_last_count]
sub rCC, rCC, w1
cbnz w2, new_dyna_leave
/* note: psxException might do recursive recompiler call from it's HLE code,
* so be ready for this */
FUNCTION(jump_to_new_pc):
- ldr w2, [rFP, #LO_stop]
+ ldrb w2, [rFP, #LO_stop]
ldr w1, [rFP, #LO_next_interupt]
ldr rCC, [rFP, #LO_cycle]
ldr w0, [rFP, #LO_pcaddr]
[PSXINT_RCNT] = psxRcntUpdate,
};
-/* local dupe of psxBranchTest, using event_cycles */
void irq_test(psxCP0Regs *cp0)
{
psxRegisters *regs = cp0TOpsxRegs(cp0);