From: Gabe Black Date: Thu, 19 Jul 2007 00:45:06 +0000 (-0700) Subject: Make store microops actually store instead of load. X-Git-Tag: m5_2.0_beta4~297^2~32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05a33a443ff00c7a7b668128b6a53bd65e0305cd;p=gem5.git Make store microops actually store instead of load. --HG-- extra : convert_revision : fe90f8adc96dd0e680cfa45e4c510a906046ae3d --- diff --git a/src/arch/x86/isa/microops/ldstop.isa b/src/arch/x86/isa/microops/ldstop.isa index 2e98a42bf..9ceaaac19 100644 --- a/src/arch/x86/isa/microops/ldstop.isa +++ b/src/arch/x86/isa/microops/ldstop.isa @@ -404,13 +404,13 @@ let {{ class StoreOp(LdStOp): def __init__(self, data, segment, addr, disp = 0): - super(LoadOp, self).__init__(data, segment, addr, disp) + super(StoreOp, self).__init__(data, segment, addr, disp) self.className = Name self.mnemonic = name microopClasses[name] = StoreOp - defineMicroLoadOp('St', 'Mem = Data;') + defineMicroStoreOp('St', 'Mem = Data;') iop = InstObjParams("lea", "Lea", 'X86ISA::LdStOp', {"code": "Data = merge(Data, EA, dataSize);", "ea_code": calculateEA})