On Apr 16, 2013, at 5:56 PM, Nilay Vaish <[email protected]> wrote: > On Sun, 14 Apr 2013, Ali Saidi wrote: > >> Hi Nilay, >> >> Thanks for digging even further into this. Is Alpha the only one where >> checkInterrupts and getInterrupts don't agree? Perhaps we can just fix the >> Alpha implementation and that will solve the problem. It seems like in Alpha >> the checkInterrupts() function is just there to speed up execution when >> there isn't the possibility of an interrupt pending, but it doesn't handle >> all the tests. Does that work for everyone? >> > > A cursory glance at functions for Mips and Sparc revealed that both of them > are doing different stuff in get() and check() functions.
Ok. We probably need to have 3 functions. possibleInterrupt(), checkInterrupt() and getInterrupt(). The implementation in checkInterrupt today can move into possibleInterrupt() and the current implementation of getInterrupt() would need to be refactored for all the architectures to either fully check or check and return. Thoughts? Ali _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
