summaryrefslogtreecommitdiff
path: root/src/arch/mips/isa/formats/tlbop.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips/isa/formats/tlbop.isa')
-rw-r--r--src/arch/mips/isa/formats/tlbop.isa4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/mips/isa/formats/tlbop.isa b/src/arch/mips/isa/formats/tlbop.isa
index dbfbb8ce1..b6db7864f 100644
--- a/src/arch/mips/isa/formats/tlbop.isa
+++ b/src/arch/mips/isa/formats/tlbop.isa
@@ -70,7 +70,9 @@ def template TlbOpExecute {{
// Primary format for integer operate instructions:
def format TlbOp(code, *opt_flags) {{
- iop = InstObjParams(name, Name, 'MipsStaticInst', code, opt_flags)
+ orig_code = code
+ cblk = code
+ iop = InstObjParams(name, Name, 'MipsStaticInst', cblk, opt_flags)
header_output = BasicDeclare.subst(iop)
decoder_output = BasicConstructor.subst(iop)
decode_block = BasicDecodeWithMnemonic.subst(iop)