feat(cpu): retain Thumb instruction pipeline halfwords

This commit is contained in:
0xrsydn 2026-10-06 04:10:20 +07:00
commit ea055270f4
21 changed files with 535 additions and 97 deletions

View file

@ -179,7 +179,7 @@ impl Machine {
}
let (kind, timing) = if self.cpu.take_interrupt(self.memory.irq_pending(), false) {
self.memory.invalidate_cpu_bus_history();
self.cpu.refill_arm_pipeline(&self.memory);
self.cpu.refill_pipeline(&self.memory);
(StepKind::IrqEntry, self.cpu.exception_timing(&self.memory))
} else {
(