summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-03-08 16:54:08 -0500
committerKorey Sewell <ksewell@umich.edu>2006-03-08 16:54:08 -0500
commit226d49ef695dd3455785227a2047914d1a397cf0 (patch)
tree236275bca2433ceca5c5ed544ff580345f8adaca
parent0df85fd8d8b7a8c8d11b1b3da5b6277e4a5e54ec (diff)
parent5a0fd8d9dabe5f6786946817eaec59c649a4b550 (diff)
downloadgem5-226d49ef695dd3455785227a2047914d1a397cf0.tar.xz
Merge zizzer:/bk/multiarch
into zazzer.eecs.umich.edu:/z/ksewell/research/m5-sim/multiarch-m5 --HG-- extra : convert_revision : f3502f293f6ea44b5cf209ce2a935a25bca6054f
-rw-r--r--arch/mips/isa/decoder.isa12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/mips/isa/decoder.isa b/arch/mips/isa/decoder.isa
index 9994acd0b..7d770c554 100644
--- a/arch/mips/isa/decoder.isa
+++ b/arch/mips/isa/decoder.isa
@@ -30,7 +30,17 @@ decode OPCODE_HI default Unknown::unknown() {
//Table A-3 Note: "1. Specific encodings of the rt, rd, and sa fields
//are used to distinguish among the SLL, NOP, SSNOP and EHB functions."
- 0x0: sll({{ Rd = Rt.uw << SA; }});
+ 0x0: decode RS {
+ 0x0: decode RT default BasicOp::sll({{ Rd = Rt.uw << SA; }}) {
+ 0x0: decode RD{
+ 0x0: decode HINT {
+ 0x0:nop({{}});
+ 0x1:ssnop({{}});
+ 0x3:ehb({{}});
+ }
+ }
+ }
+ }
0x2: decode SRL {
0: srl({{ Rd = Rt.uw >> SA; }});