Skip to content

Commit

Permalink
fix edge case with thumb prefetch aborts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaklyy committed Nov 8, 2024
1 parent 60a819c commit 676f471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ARM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ void ARMv5::Execute()


if (IRQ && !(CPSR & 0x80)) TriggerIRQ<mode>();
else if (CurInstr & ((u64)1<<63)) [[unlikely]] // handle aborted instructions
else if (CurInstr > 0xFFFFFFFF) [[unlikely]] // handle aborted instructions
{
PrefetchAbort();
}
Expand Down

0 comments on commit 676f471

Please sign in to comment.