forked from cores/microwatt
execute1: Fix interrupt delivery during slow instructions
During slow instructions such as multiply or divide, if a decrementer (or other asynchronous) interrupt becomes pending, it disrupts the logic that keeps stall asserted until the end of the slow instruction, and the interrupt logic starts trying to deliver the interrupt before the slow instruction has finished. To fix that, make the interrupt logic wait until it sees e_in.valid set before setting exception to 1. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>jtag-port
parent
fe789190e4
commit
102fbcfe9a
Loading…
Reference in New Issue