summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/microops/limmop.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-14 20:52:23 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-14 20:52:23 +0000
commit721394411088a40f786fbe3486f5a099c6e9d2d3 (patch)
treea34a60478a3d9652fb67fa2559df51171b4de0b3 /src/arch/x86/isa/microops/limmop.isa
parent866cc8214ba1642c2af56ed14e9ca2cf8b1928cf (diff)
downloadgem5-721394411088a40f786fbe3486f5a099c6e9d2d3.tar.xz
Fix limm.
--HG-- extra : convert_revision : ab76b11c2bb2f3abc0e7a84f7167d92d16ed074e
Diffstat (limited to 'src/arch/x86/isa/microops/limmop.isa')
-rw-r--r--src/arch/x86/isa/microops/limmop.isa9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/arch/x86/isa/microops/limmop.isa b/src/arch/x86/isa/microops/limmop.isa
index a25d2b712..c76c074b1 100644
--- a/src/arch/x86/isa/microops/limmop.isa
+++ b/src/arch/x86/isa/microops/limmop.isa
@@ -123,18 +123,21 @@ def template MicroLimmOpConstructor {{
}};
let {{
- class LimmOp(object):
+ class LimmOp(X86Microop):
def __init__(self, dest, imm):
+ self.className = "Limm"
+ self.mnemonic = "limm"
self.dest = dest
self.imm = imm
def getAllocator(self, *microFlags):
- allocator = '''new %(class_name)s(machInst, %(mnemonic)s,
- %(flags)s %(dest)s, %(imm)s,)''' % {
+ allocator = '''new %(class_name)s(machInst, mnemonic
+ %(flags)s, %(dest)s, %(imm)s)''' % {
"class_name" : self.className,
"mnemonic" : self.mnemonic,
"flags" : self.microFlagsText(microFlags),
"dest" : self.dest, "imm" : self.imm }
+ return allocator
microopClasses["limm"] = LimmOp
}};