Fixing the extended twin format to go with the new isa parser interface.

--HG--
extra : convert_revision : f41183cfa011b21e7ab8cbcdef0ac1d464692362
This commit is contained in:
Gabe Black 2006-12-18 18:17:30 -05:00
parent 9e7dc34383
commit af1e8d2d40

View file

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