Review Board 2.0.15


O3: Support SWAP and predicated loads/store in ARM.

Review Request #319 - Created Nov. 19, 2010 and submitted

Information
Ali Saidi
gem5
Reviewers
Default
O3: Support SWAP and predicated loads/store in ARM.

   
Posted (Nov. 20, 2010, 4:21 p.m.)



  
src/arch/arm/isa/insts/swap.isa (Diff revision 1)
 
 
Is this line too long now? Also, I'm not sure what's going on with the new 'IsStoreConditional' flag. Doesn't there need to be a load locked somewhere? Also, can't those fail? Would the x86 version of locking be more appropriate since it can't? Why is any flag necessary since the swap is (I think) done atomically through the memory request itself? Or are we moving away from that?
  1. fixed
src/cpu/o3/iew_impl.hh (Diff revision 1)
 
 
The only difference between this else if and the if above it is that activityThisCycle is called for the if but not the else if. I'm not sure that's correct, though admittedly the use of the activity stuff in O3 is a little mysterious to me, but in any case I don't think it would hurt anything to call it in both cases and merge those two blocks.
  1. assuming it doesn't break something, I'll make the change.