# HG changeset patch
# User Gabe Black <[email protected]>
# Date 1262149473 18000
# Node ID e5980e0dc2dffa870b776341fddcbc2159571044
# Parent a72cecae3e4bc51baa672d44e2682da47d0c1e6c
MIPS: Implement the SE mode version of rdhwr.
diff --git a/src/arch/mips/isa/decoder.isa b/src/arch/mips/isa/decoder.isa
--- a/src/arch/mips/isa/decoder.isa
+++ b/src/arch/mips/isa/decoder.isa
@@ -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