X86: Eliminate an unused argument for building store microops.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 22 Jun 2011 02:28:14 +0000 (19:28 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 22 Jun 2011 02:28:14 +0000 (19:28 -0700)
src/arch/x86/isa/microops/ldstop.isa

index 245859722d96c4443ac2c60463f539ea276db913..811b35c8aa759fb8988c4f6c236531de1a6b9192 100644 (file)
@@ -177,7 +177,6 @@ def template MicroStoreExecute {{
             fault = write(xc, Mem, EA, memFlags);
             if(fault == NoFault)
             {
-                %(post_code)s;
                 %(op_wb)s;
             }
         }
@@ -411,8 +410,7 @@ let {{
                       '(StoreCheck << FlagShift) | Request::LOCKED')
     defineMicroLoadOp('Ldfp', 'FpData.uqw = Mem;', big = False)
 
-    def defineMicroStoreOp(mnemonic, code, \
-            postCode="", completeCode="", mem_flags="0"):
+    def defineMicroStoreOp(mnemonic, code, completeCode="", mem_flags="0"):
         global header_output
         global decoder_output
         global exec_output
@@ -423,7 +421,6 @@ let {{
         # Build up the all register version of this micro op
         iop = InstObjParams(name, Name, 'X86ISA::LdStOp',
                 {"code": code,
-                 "post_code": postCode,
                  "complete_code": completeCode,
                  "ea_code": calculateEA})
         header_output += MicroLdStOpDeclare.subst(iop)