X86: Eliminate an unused argument for building store microops.

This commit is contained in:
Gabe Black 2011-06-21 19:28:14 -07:00
parent 6630d4c64b
commit efb9f7c2ae

View file

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