changeset 4fc450d6a54e in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=4fc450d6a54e
description:
        MIPS: Implement the SE mode version of rdhwr.

diffstat:

1 file changed, 6 insertions(+)
src/arch/mips/isa/decoder.isa |    6 ++++++

diffs (17 lines):

diff -r d99f7b0ac614 -r 4fc450d6a54e src/arch/mips/isa/decoder.isa
--- a/src/arch/mips/isa/decoder.isa     Thu Dec 31 15:30:51 2009 -0500
+++ b/src/arch/mips/isa/decoder.isa     Thu Dec 31 15:30:51 2009 -0500
@@ -2477,7 +2477,13 @@
                     }
                 }
                 0x3: decode OP {
+#if FULL_SYSTEM
                     0x0: FailUnimpl::rdhwr();
+#else
+                    0x0: decode RD {
+                        29: BasicOp::rdhwr({{ Rt = TpValue; }});
+                    }
+#endif
                 }
             }
         }
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to