Lines Matching +full:xo +full:- +full:1
13 O_AA = 1, O_BD, O_BI, O_BO, O_crbD, O_crbA, O_crbB, O_CRM, O_d, O_frC, O_frD,
32 unsigned int hint; /* A bitwise-inclusive-OR of the
55 * 32 bits long and word aligned. Bits 0-5 always specify the primary
67 /*-------------------------------------------------
68 * I-Form Instructions:
70 *-------------------------------------------------
72 *-------------------------------------------------*/
74 #define I_OPCODE(i,aa,lk) (MAKE_OPCODE(i) | (((aa) & 0x1) << 1) | ((lk) & 0x1))
78 /*-------------------------------------------------
79 * B-Form Instructions:
81 *-------------------------------------------------
83 *-------------------------------------------------*/
85 #define B_OPCODE(i,aa,lk) (MAKE_OPCODE(i) | (((aa) & 0x1) << 1) | ((lk) & 0x1))
89 /*-------------------------------------------------
90 * SC-Form Instructions:
92 *-------------------------------------------------
93 * OPCD | 00000 | 00000 | 00000000000000 |1|0
94 *-------------------------------------------------*/
100 /*-------------------------------------------------
101 * D-Form Instructions:
106 *-------------------------------------------------
114 *-------------------------------------------------*/
120 /*-------------------------------------------------
121 * DS-Form Instructions:
123 *-------------------------------------------------
124 * OPCD | D | A | ds |XO
125 * OPCD | S | A | ds |XO
126 *-------------------------------------------------*/
128 #define DS_OPCODE(i,xo) (MAKE_OPCODE(i) | ((xo) & 0x3)) argument
132 /*---------------------------------------------------
133 * X-Form Instructions:
142 *---------------------------------------------------
143 * OPCD | D | A | B | XO |0
144 * OPCD | D | A | NB | XO |0
145 * OPCD | D | 00000 | B | XO |0
146 * OPCD | D | 00000 | 00000 | XO |0
147 * OPCD | D |0| SR | 00000 | XO |0
148 * OPCD | S | A | B | XO |Rc
149 * OPCD | S | A | B | XO |1
150 * OPCD | S | A | B | XO |0
151 * OPCD | S | A | NB | XO |0
152 * OPCD | S | A | 00000 | XO |Rc
153 * OPCD | S | 00000 | B | XO |0
154 * OPCD | S | 00000 | 00000 | XO |0
155 * OPCD | S |0| SR | 00000 | XO |0
156 * OPCD | S | A | SH | XO |Rc
157 * OPCD |crfD|0|L| A | SH | XO |0
158 * OPCD |crfD |00| A | B | XO |0
159 * OPCD |crfD |00|crfS |00| 00000 | XO |0
160 * OPCD |crfD |00| 00000 | 00000 | XO |0
161 * OPCD |crfD |00| 00000 | IMM |0| XO |Rc
162 * OPCD | TO | A | B | XO |0
163 * OPCD | D | 00000 | B | XO |Rc
164 * OPCD | D | 00000 | 00000 | XO |Rc
165 * OPCD | crbD | 00000 | 00000 | XO |Rc
166 * OPCD | 00000 | A | B | XO |0
167 * OPCD | 00000 | 00000 | B | XO |0
168 * OPCD | 00000 | 00000 | 00000 | XO |0
169 *---------------------------------------------------*/
171 #define X_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument
176 /*---------------------------------------------------
177 * XL-Form Instructions:
180 *---------------------------------------------------
181 * OPCD | BO | BI | 00000 | XO |LK
182 * OPCD | crbD | crbA | crbB | XO |0
183 * OPCD |crfD |00|crfS |00| 00000 | XO |0
184 * OPCD | 00000 | 00000 | 00000 | XO |0
185 *---------------------------------------------------*/
187 #define XL_OPCODE(i,xo,lk) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument
192 /*---------------------------------------------------
193 * XFX-Form Instructions:
195 *---------------------------------------------------
196 * OPCD | D | spr | XO |0
197 * OPCD | D |0| CRM |0| XO |0
198 * OPCD | S | spr | XO |0
199 * OPCD | D | tbr | XO |0
200 *---------------------------------------------------*/
202 #define XFX_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument
207 /*---------------------------------------------------
208 * XFL-Form Instructions:
210 *---------------------------------------------------
211 * OPCD |0| FM |0| B | XO |0
212 *---------------------------------------------------*/
214 #define XFL_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument
219 /*---------------------------------------------------
220 * XS-Form Instructions:
222 *---------------------------------------------------
223 * OPCD | S | A | sh | XO |sh|LK
224 *---------------------------------------------------*/
226 #define XS_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x1ff) << 2) | \ argument
231 /*---------------------------------------------------
232 * XO-Form Instructions:
236 *---------------------------------------------------
237 * OPCD | D | A | B |OE| XO |Rc
238 * OPCD | D | A | B |0 | XO |Rc
239 * OPCD | D | A | 00000 |OE| XO |Rc
240 *---------------------------------------------------*/
242 #define XO_OPCODE(i,xo,oe,rc) (MAKE_OPCODE(i) | (((oe) & 0x1) << 10) | \ argument
243 (((xo) & 0x1ff) << 1) | ((rc) & 0x1))
247 /*---------------------------------------------------
248 * A-Form Instructions:
250 *---------------------------------------------------
251 * OPCD | D | A | B |00000| XO |Rc
252 * OPCD | D | A | B | C | XO |Rc
253 * OPCD | D | A | 00000 | C | XO |Rc
254 * OPCD | D | 00000 | B |00000| XO |Rc
255 *---------------------------------------------------*/
257 #define A_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x1f) << 1) | \ argument
262 /*---------------------------------------------------
263 * M-Form Instructions:
265 *---------------------------------------------------
268 *---------------------------------------------------*/
274 /*---------------------------------------------------
275 * MD-Form Instructions:
277 *---------------------------------------------------
278 * OPCD | S | A | sh | mb | XO |sh|Rc
279 * OPCD | S | A | sh | me | XO |sh|Rc
280 *---------------------------------------------------*/
282 #define MD_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x7) << 2) | \ argument
287 /*---------------------------------------------------
288 * MDS-Form Instructions:
290 *---------------------------------------------------
291 * OPCD | S | A | B | mb | XO |Rc
292 * OPCD | S | A | B | me | XO |Rc
293 *---------------------------------------------------*/
295 #define MDS_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0xf) << 1) | \ argument
324 unsigned int hint; /* A bitwise-inclusive-OR of the
366 #define E_ASM_BAD_OPCODE 1