add explicit support for nop,ssnop, and ehb instructions

--HG--
extra : convert_revision : 41151d38cabb6ce0ea81e5d78e4474d8f2ffeb67
This commit is contained in:
Korey Sewell 2006-03-08 16:53:44 -05:00
parent bfd820f704
commit 5a0fd8d9da

View file

@ -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; }});