From 721394411088a40f786fbe3486f5a099c6e9d2d3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 14 Jun 2007 20:52:23 +0000 Subject: [PATCH] Fix limm. --HG-- extra : convert_revision : ab76b11c2bb2f3abc0e7a84f7167d92d16ed074e --- src/arch/x86/isa/microops/limmop.isa | 9 ++++++--- 1 file 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 }}; -- 2.30.2