diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-03-08 16:54:08 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-03-08 16:54:08 -0500 |
commit | 226d49ef695dd3455785227a2047914d1a397cf0 (patch) | |
tree | 236275bca2433ceca5c5ed544ff580345f8adaca /arch | |
parent | 0df85fd8d8b7a8c8d11b1b3da5b6277e4a5e54ec (diff) | |
parent | 5a0fd8d9dabe5f6786946817eaec59c649a4b550 (diff) | |
download | gem5-226d49ef695dd3455785227a2047914d1a397cf0.tar.xz |
Merge zizzer:/bk/multiarch
into zazzer.eecs.umich.edu:/z/ksewell/research/m5-sim/multiarch-m5
--HG--
extra : convert_revision : f3502f293f6ea44b5cf209ce2a935a25bca6054f
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/isa/decoder.isa | 12 |
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; }}); |