projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70f3c9
)
MIPS: Implement the SE mode version of rdhwr.
author
Gabe Black
<gblack@eecs.umich.edu>
Thu, 31 Dec 2009 20:30:51 +0000
(15:30 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Thu, 31 Dec 2009 20:30:51 +0000
(15:30 -0500)
src/arch/mips/isa/decoder.isa
patch
|
blob
|
history
diff --git
a/src/arch/mips/isa/decoder.isa
b/src/arch/mips/isa/decoder.isa
index 61791a00b5b3299a4378b89e78d842b189e9c236..36533e076ebf8fe204581fbc25ee1261f4df048d 100644
(file)
--- 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
}
}
}