From: Gabe Black Date: Thu, 31 Dec 2009 20:30:51 +0000 (-0500) Subject: MIPS: Implement the SE mode version of rdhwr. X-Git-Tag: stable_2012_02_02~1575^2~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecaa7070e64eaa5cebbe22bd06ca2dc0b3e9f8f0;p=gem5.git MIPS: Implement the SE mode version of rdhwr. --- 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 } } }