ARM: Don't pretend to writeback registers in initiateAcc.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 22 Oct 2010 07:22:59 +0000 (00:22 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 22 Oct 2010 07:22:59 +0000 (00:22 -0700)
src/arch/arm/isa/templates/mem.isa

index 1d0e1316c617e34f804fcacc7ed1b3c58ead6206..ced7a0037e4c03cc5a38ea119a4ef56038c64c05 100644 (file)
@@ -131,10 +131,6 @@ def template SwapInitiateAcc {{
                 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
                                   memAccessFlags, &memData);
             }
-
-            if (fault == NoFault) {
-                %(op_wb)s;
-            }
         } else {
             xc->setPredicate(false);
         }
@@ -393,11 +389,6 @@ def template StoreExInitiateAcc {{
                 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
                                   memAccessFlags, NULL);
             }
-
-            // Need to write back any potential address register update
-            if (fault == NoFault) {
-                %(op_wb)s;
-            }
         } else {
             xc->setPredicate(false);
         }
@@ -431,11 +422,6 @@ def template StoreInitiateAcc {{
                 fault = xc->write((uint%(mem_acc_size)d_t&)Mem, EA,
                                   memAccessFlags, NULL);
             }
-
-            // Need to write back any potential address register update
-            if (fault == NoFault) {
-                %(op_wb)s;
-            }
         } else {
             xc->setPredicate(false);
         }
@@ -473,11 +459,6 @@ def template NeonStoreInitiateAcc {{
                 fault = xc->writeBytes(memUnion.bytes, %(size)d, EA,
                                        memAccessFlags, NULL);
             }
-
-            // Need to write back any potential address register update
-            if (fault == NoFault) {
-                %(op_wb)s;
-            }
         }
 
         if (fault == NoFault && machInst.itstateMask != 0 &&