projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd820f
)
add explicit support for nop,ssnop, and ehb instructions
author
Korey Sewell
<ksewell@umich.edu>
Wed, 8 Mar 2006 21:53:44 +0000
(16:53 -0500)
committer
Korey Sewell
<ksewell@umich.edu>
Wed, 8 Mar 2006 21:53:44 +0000
(16:53 -0500)
--HG--
extra : convert_revision :
41151d38cabb6ce0ea81e5d78e4474d8f2ffeb67
arch/mips/isa/decoder.isa
patch
|
blob
|
history
diff --git
a/arch/mips/isa/decoder.isa
b/arch/mips/isa/decoder.isa
index 9994acd0b4fa0c11abdeada17652f8f040b0b688..7d770c5544734fe4cd3921d2d1058201121c001d 100644
(file)
--- 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; }});