I've been surveying all the ISAs to see how they're using initiateAcc
and completeAcc, and it looks like there are two cases where completeAcc
needs to be (and apparently is) called on stores or store like
instructions. The first are the StoreConditional instructions which have
to (at least in some cases) write whether the store succeeded somewhere.
The second are the swap instructions which have to write the old value
of memory to a register. I don't expect this to be a revelation for
anyone and it's not the source of any problems, but I wanted to verify
what I'm saying here is correct and see if anyone can think of any other
places where completeAcc needs to be called.

I've verified, as best I can by inspection, that initiateAcc isn't doing
any writing back of registers. That's good, because that wouldn't work
anyway. Some templates in ARM make it look like it might, but that's
just from copy/paste, I think, and tracing back to where the templates
get filled in and with what, there shouldn't be any registers to write.

Gabe
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to