cpu: Fix a livelock in the o3 cpu.
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 15 Feb 2013 22:40:07 +0000 (17:40 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 15 Feb 2013 22:40:07 +0000 (17:40 -0500)
commitb84bd3028c173893101c0c0c188e5f5b16e4fdee
treedbf8680bc399db9321133d50e410a94833a17f78
parentd4eca0591d28cd34448148302cb26872bfc1f919
cpu: Fix a livelock in the o3 cpu.

Check if an instruction just enabled interrupts and we've previously had an
interrupt pending that was not handled because interrupts were subsequently
disabled before the pipeline reached a place to handle the interrupt. In that
case squash now to make sure the interrupt is handled.
src/cpu/o3/commit.hh
src/cpu/o3/commit_impl.hh