Hi everyone,

On 06/06/2010 18:59, Ali Saidi wrote:

On Jun 6, 2010, at 4:53 PM, Steve Reinhardt wrote:

I've only thought about this briefly, but here are a few quick reactions:

- PowerPC has updating ld/st instructions too.  How are these handled?
Whatever we do, we should do the same thing for both.
Tim, care to comment?

Yes, the Power ISA has loads and stores that update a given register with the effective address, exactly like the example Ali gave.

I've written these so that the register update is performed in completeAcc(). I haven't profiled performance in O3 and hadn't thought about the dependencies that this would cause. If you've got a better solution to use then I am happy to alter the Power code to use this.

To be honest, I am implementing some more instructions in Power and have come across two that load or store multiple register values to memory. I was going to write a question about implementing this to the list anyway! If the solution to the above problem was creating micro-ops, then I could implement the multiple load/store instructions in the same way too, otherwise I will have to find a different solution to this.

Cheers
Tim

--
Timothy M. Jones
http://homepages.inf.ed.ac.uk/tjones1

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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

Reply via email to