summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-12-31 15:30:51 -0500
committerGabe Black <gblack@eecs.umich.edu>2009-12-31 15:30:51 -0500
commitecaa7070e64eaa5cebbe22bd06ca2dc0b3e9f8f0 (patch)
tree09c2ff779fc4dd1f650a676e6a5b28e66b9ec487 /src/arch
parentc70f3c93af353fb762d634f6302d838b2ac7b1ba (diff)
downloadgem5-ecaa7070e64eaa5cebbe22bd06ca2dc0b3e9f8f0.tar.xz
MIPS: Implement the SE mode version of rdhwr.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/mips/isa/decoder.isa6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/mips/isa/decoder.isa b/src/arch/mips/isa/decoder.isa
index 61791a00b..36533e076 100644
--- a/src/arch/mips/isa/decoder.isa
+++ b/src/arch/mips/isa/decoder.isa
@@ -2477,7 +2477,13 @@ decode OPCODE_HI default Unknown::unknown() {
}
}
0x3: decode OP {
+#if FULL_SYSTEM
0x0: FailUnimpl::rdhwr();
+#else
+ 0x0: decode RD {
+ 29: BasicOp::rdhwr({{ Rt = TpValue; }});
+ }
+#endif
}
}
}