summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-12-31 15:30:51 -0500
committerGabe Black <gblack@eecs.umich.edu>2009-12-31 15:30:51 -0500
commitc70f3c93af353fb762d634f6302d838b2ac7b1ba (patch)
tree9dde6402578098b27d063b0519b3fed8c25ae05d /src/arch/mips
parent134937b594572f6158870fd4a843ad9ff2d48287 (diff)
downloadgem5-c70f3c93af353fb762d634f6302d838b2ac7b1ba.tar.xz
MIPS: Fix decoding of the rdhwr instruction.
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/isa/decoder.isa6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/mips/isa/decoder.isa b/src/arch/mips/isa/decoder.isa
index c531347d2..61791a00b 100644
--- a/src/arch/mips/isa/decoder.isa
+++ b/src/arch/mips/isa/decoder.isa
@@ -2476,10 +2476,8 @@ decode OPCODE_HI default Unknown::unknown() {
}
}
}
- 0x3: decode OP_HI {
- 0x2: decode OP_LO {
- 0x3: FailUnimpl::rdhwr();
- }
+ 0x3: decode OP {
+ 0x0: FailUnimpl::rdhwr();
}
}
}