I would like to delete some code that has caused me confusion for awhile and it seems its not even used anymore.
In the mem.isa files, two instruction objects EAComp and MemAcc are added to each memory instruction. These can be referenced by the eaCompPtr() and memAccPtr() in the instruction object so CPU models can perform split access memory operations. However, M5 seems to have moved past this. I'm not sure if/when the aforementioned methods were used, but now the split access is done by the initiateAcc and completeAcc methods in the mem.isa instruction template. Long story short, EAComp and MemAcc are no longer used and I want to delete them because I actually needed EAComp for the InOrder model which needs to start a address calculation but not full-on do the actually data calculation. Using this seemingly "stale" code interestiling caused a subtle BUG that I will detail in the following email. But for this email, the main issue is I want to delete the unused code. When you grep for "eaCompPtr()" and such throughout the src/* directory you come up with nothing, which leads me to believe it's not used at all and is safe to remove. -- ---------- Korey L Sewell Graduate Student - PhD Candidate Computer Science & Engineering University of Michigan
_______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
