summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/microops
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-18 17:45:06 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-18 17:45:06 -0700
commit05a33a443ff00c7a7b668128b6a53bd65e0305cd (patch)
treeab3880ef4f3bcc02ba08ddea8ea298a2d614b3a1 /src/arch/x86/isa/microops
parente209fce9dec5445bc559f52a472c39adf52ee49a (diff)
downloadgem5-05a33a443ff00c7a7b668128b6a53bd65e0305cd.tar.xz
Make store microops actually store instead of load.
--HG-- extra : convert_revision : fe90f8adc96dd0e680cfa45e4c510a906046ae3d
Diffstat (limited to 'src/arch/x86/isa/microops')
-rw-r--r--src/arch/x86/isa/microops/ldstop.isa4
1 files changed, 2 insertions, 2 deletions
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})