Fixing the extended twin format to go with the new isa parser interface.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 18 Dec 2006 23:17:30 +0000 (18:17 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 18 Dec 2006 23:17:30 +0000 (18:17 -0500)
--HG--
extra : convert_revision : f41183cfa011b21e7ab8cbcdef0ac1d464692362

src/arch/sparc/isa/formats/mem/blockmem.isa

index 25fffc02b0a97d772b262d304254e00e2d50afc8..c4f052f98d33094578faccfa5d15e5d99b85766e 100644 (file)
@@ -494,18 +494,18 @@ let {{
             else:
                 flag_code = "flags[IsDelayedCommit] = true;"
                 pcedCode = matcher.sub("RdLow", code)
-            iop = InstObjParams(name, Name, 'TwinMem', pcedCode,
-                    opt_flags, {"ea_code": addrCalcReg,
+            iop = InstObjParams(name, Name, 'TwinMem',
+                    {"code": pcedCode, "ea_code": addrCalcReg,
                     "fault_check": faultCode, "micro_pc": microPc,
-                    "set_flags": flag_code})
-            iop_imm = InstObjParams(name, Name + 'Imm', 'TwinMemImm', pcedCode,
-                    opt_flags, {"ea_code": addrCalcImm,
+                    "set_flags": flag_code}, opt_flags)
+            iop_imm = InstObjParams(name, Name + 'Imm', 'TwinMemImm',
+                    {"code": pcedCode, "ea_code": addrCalcImm,
                     "fault_check": faultCode, "micro_pc": microPc,
-                    "set_flags": flag_code})
+                    "set_flags": flag_code}, opt_flags)
             decoder_output += BlockMemMicroConstructor.subst(iop)
             decoder_output += BlockMemMicroConstructor.subst(iop_imm)
             exec_output += doDualSplitExecute(
-                    pcedCode, addrCalcReg, addrCalcImm, LoadExecute, faultCode,
+                    pcedCode, addrCalcReg, addrCalcImm, LoadFuncs, faultCode,
                     makeMicroName(name, microPc),
                     makeMicroName(name + "Imm", microPc),
                     makeMicroName(Name, microPc),