1/* 2 * Copyright (c) 2007-2008 The Florida State University 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 33 unchanged lines hidden (view full) --- 42 // Made up bitfields that make life easier. 43 Bitfield<33> sevenAndFour; 44 Bitfield<32> isMisc; 45 46 // All the different types of opcode fields. 47 Bitfield<27, 25> encoding; 48 Bitfield<24, 21> opcode; 49 Bitfield<24, 20> mediaOpcode; |
50 Bitfield<24> opcode24; 51 Bitfield<23, 20> opcode23_20; 52 Bitfield<23, 21> opcode23_21; |
53 Bitfield<22> opcode22; |
54 Bitfield<19> opcode19; 55 Bitfield<15, 12> opcode15_12; 56 Bitfield<15> opcode15; |
57 Bitfield<7, 4> miscOpcode; |
58 Bitfield<7> opcode7; |
59 Bitfield<4> opcode4; 60 61 Bitfield<31, 28> condCode; 62 Bitfield<20> sField; 63 Bitfield<19, 16> rn; 64 Bitfield<15, 12> rd; 65 Bitfield<11, 7> shiftSize; 66 Bitfield<6, 5> shift; 67 Bitfield<3, 0> rm; 68 69 Bitfield<11, 8> rs; 70 |
71 SubBitUnion(puswl, 24, 20) 72 Bitfield<24> prepost; 73 Bitfield<23> up; 74 Bitfield<22> psruser; 75 Bitfield<21> writeback; 76 Bitfield<20> loadOp; 77 EndSubBitUnion(puswl) 78 79 Bitfield<24, 20> pubwl; |
80 |
81 Bitfield<7, 0> imm; |
82 |
83 Bitfield<11, 8> rotate; |
84 |
85 Bitfield<11, 0> immed11_0; |
86 Bitfield<7, 0> immed7_0; |
87 |
88 Bitfield<11, 8> immedHi11_8; 89 Bitfield<3, 0> immedLo3_0; |
90 |
91 Bitfield<15, 0> regList; 92 93 Bitfield<23, 0> offset; |
94 |
95 Bitfield<23, 0> immed23_0; |
96 |
97 Bitfield<11, 8> cpNum; 98 Bitfield<18, 16> fn; 99 Bitfield<14, 12> fd; 100 Bitfield<3> fpRegImm; 101 Bitfield<3, 0> fm; 102 Bitfield<2, 0> fpImm; 103 Bitfield<24, 20> punwl; 104 --- 86 unchanged lines hidden --- |