MIPS: Implement the SE mode version of rdhwr.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 31 Dec 2009 20:30:51 +0000 (15:30 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 31 Dec 2009 20:30:51 +0000 (15:30 -0500)
src/arch/mips/isa/decoder.isa

index 61791a00b5b3299a4378b89e78d842b189e9c236..36533e076ebf8fe204581fbc25ee1261f4df048d 100644 (file)
@@ -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
                 }
             }
         }