7 | OPCD | BO| BI | BD |AA|LK |
10 |0 |6 |11 |16 |20 |27 |30 |31 |
11 | OPCD | ///| ///| // | LEV | //| 1| / |
14 |0 |6 |9 |10 |11 |16 |31 |
16 | OPCD | RT | RA| SI |
18 | OPCD | RS | RA| UI |
19 | OPCD | BF | / | L | RA| SI |
20 | OPCD | BF | / | L | RA| UI |
21 | OPCD | TO | RA| SI |
22 | OPCD | FRT | RA| D |
23 | OPCD | FRS | RA| D |
26 |0 |6 |11 |16 |30 |31 |
27 | OPCD | RT | RA | DS | XO |
28 | OPCD | RS | RA | DS | XO |
29 | OPCD | RSp | RA | DS | XO |
30 | OPCD | FRTp | RA | DS | XO |
31 | OPCD | FRSp | RA | DS | XO |
34 |0 |6 |11 |16 |28|29 |31 |
35 | OPCD | RTp | RA | DQ | PT |
36 | OPCD | S | RA | DQ |SX| XO |
37 | OPCD | T | RA | DQ |TX| XO |
40 |0 |6 |7|8|9 |10 |11|12|13 |15|16|17 |20|21 |31 |
41 | OPCD | RT | RA | /// | XO | / |
42 | OPCD | RT | RA | RB | XO | / |
43 | OPCD | RT | RA | RB | XO |EH |
44 | OPCD | RT | RA | NB | XO | / |
45 | OPCD | RT | /|SR | /// | XO | / |
46 | OPCD | RT | /// | RB | XO | / |
47 | OPCD | RT | /// | RB | XO | 1 |
48 | OPCD | RT | /// | /// | XO | / |
49 | OPCD | RS | RA | RB | XO |Rc |
50 | OPCD | RT | RA | RB | XO |Rc |
51 | OPCD | RS | RA | RB | XO | 1 |
52 | OPCD | RS | RA | RB | XO | / |
53 | OPCD | RS | RA | NB | XO | / |
54 | OPCD | RS | RA | SH | XO |Rc |
55 | OPCD | RS | RA | /// | XO |Rc |
56 | OPCD | RS | RA | /// | XO | / |
57 | OPCD | RS | /|SR | /// | XO | / |
58 | OPCD | RS | /// | RB | XO | / |
59 | OPCD | RS | /// | /// | XO | / |
60 | OPCD | RS | /// |L | /// | XO | / |
61 | OPCD | TH | RA | RB | XO | / |
62 | OPCD | BF |/ | L | RA | RB | XO | / |
63 | OPCD | BF |// | FRA | FRB | XO | / |
64 | OPCD | BF |// | BFA | // | /// | XO | / |
65 | OPCD | BF |// | /// |W | U |/ | XO |Rc |
66 | OPCD | BF |// | /// | /// | XO | / |
67 | OPCD | TH | RA | RB | XO | / |
68 | OPCD | /| CT | /// | /// | XO | / |
69 | OPCD | /| CT | RA | RB | XO | / |
70 | OPCD | /// | L | RA | RB | XO | / |
71 | OPCD | /// | L | /// | RB | XO | / |
72 | OPCD | /// | L | /// | /// | XO | / |
73 | OPCD | /// | L | /| E | /// | XO | / |
74 | OPCD | TO | RA | RB | XO | / |
75 | OPCD | FRT | RA | RB | XO | / |
76 | OPCD | FRT | FRA | FRB | XO | / |
77 | OPCD | FRTp | RA | RB | XO | / |
78 | OPCD | FRT | /// | FRB | XO |Rc |
79 | OPCD | FRT | /// | FRBp | XO |Rc |
80 | OPCD | FRT | /// | /// | XO |Rc |
81 | OPCD | FRTp | /// | FRB | XO |Rc |
82 | OPCD | FRTp | /// | FRBp | XO |Rc |
83 | OPCD | FRTp | FRA | FRBp | XO |Rc |
84 | OPCD | FRTp | FRAp | FRBp | XO |Rc |
85 | OPCD | BF |// | FRA | FRBp | XO | / |
86 | OPCD | BF |// | FRAp | FRBp | XO | / |
87 | OPCD | FRT |S | | FRB | XO |Rc |
88 | OPCD | FRTp |S | | FRBp | XO |Rc |
89 | OPCD | FRS | RA | RB | XO | / |
90 | OPCD | FRSp | RA | RB | XO | / |
91 | OPCD | BT | /// | /// | XO |Rc |
92 | OPCD | /// | RA | RB | XO | / |
93 | OPCD | /// | /// | RB | XO | / |
94 | OPCD | /// | /// | /// | XO | / |
95 | OPCD | /// | /// | E|/// | XO | / |
96 | OPCD | //|IH | /// | /// | XO | / |
97 | OPCD | A|// | /// | /// | XO | 1 |
98 | OPCD | A|// |R | /// | /// | XO | 1 |
99 | OPCD | /// | RA | RB | XO | 1 |
100 | OPCD | /// |WC | /// | /// | XO | / |
101 | OPCD | /// |T | RA | RB | XO | / |
102 | OPCD | VRT | RA | RB | XO | / |
103 | OPCD | VRS | RA | RB | XO | / |
104 | OPCD | MO | /// | /// | XO | / |
107 |0 |6 |9 |11 |14 |16 |19|20|21 |31 |
108 | OPCD | BT | BA | BB | XO | / |
109 | OPCD | BO | BI | /// |BH | XO |LK |
110 | OPCD | | /// |S | XO | / |
111 | OPCD | BF |// |BFA |// | /// | XO | / |
112 | OPCD | /// | XO | / |
113 | OPCD | OC | XO | / |
116 |0 |6 |11|12 |20|21 |31 |
117 | OPCD | RT | spr | XO | / |
118 | OPCD | RT | tbr | XO | / |
119 | OPCD | RT |0 | /// | XO | / |
120 | OPCD | RT |1 | FXM |/ | XO | / |
121 | OPCD | RT | dcr | XO | / |
122 | OPCD | RT | pmrn | XO | / |
123 | OPCD | RT | BHRBE | XO | / |
124 | OPCD | DUI | DUIS | XO | / |
125 | OPCD | RS |0 | FXM |/ | XO | / |
126 | OPCD | RS |1 | FXM |/ | XO | / |
127 | OPCD | RS | spr | XO | / |
128 | OPCD | RS | dcr | XO | / |
129 | OPCD | RS | pmrn | XO | / |
132 |0 |6|7 |15|16 |21 |31 |
133 | OPCD |L| FLM |W |FRB | XO |Rc |
136 |0 |6 |11 |16 |21 |31 |
137 | OPCD | T | RA | RB | XO |TX |
138 | OPCD | S | RA | RB | XO |SX |
141 |0 |6 |9 |11 |14 |16 |21 |30|31 |
142 | OPCD | T | /// | B |XO |BX|TX |
143 | OPCD | T | /// |UIM | B |XO |BX|TX |
144 | OPCD | BF | //| /// | B |XO |BX| / |
147 |0 |6 |9 |11 |16 |21 |22 |24 |29|30|31 |
148 | OPCD | T | A | B | XO |AX|BX|TX |
149 | OPCD | T | A | B |Rc | XO |AX|BX|TX |
150 | OPCD | BF | // | A | B | XO |AX|BX|/ |
151 | OPCD | T | A | B |XO |SHW | XO |AX|BX|TX |
152 | OPCD | T | A | B |XO |DM | XO |AX|BX|TX |
155 |0 |6 |11 |16 |21 |26 |28|29 |30|31 |
156 | OPCD | T | A | B | C | XO |CX|AX |BX|TX |
159 |0 |6 |11 |16 |21 |30|31 |
160 | OPCD | RS | RA | sh | XO |sh|Rc |
163 |0 |6 |11 |16 |21 |22 |31 |
164 | OPCD | RT| RA| RB |OE | XO |Rc |
165 | OPCD | RT| RA| RB | /| XO |Rc |
166 | OPCD | RT| RA| RB | /| XO | / |
167 | OPCD | RT| RA| /// |OE | XO |Rc |
170 |0 |6 |11 |16 |21 |26 |31 |
171 | OPCD | FRT | FRA | FRB | FRC | XO |Rc |
172 | OPCD | FRT | FRA | FRB | /// | XO |Rc |
173 | OPCD | FRT | FRA | /// | FRC | XO |Rc |
174 | OPCD | FRT | /// | FRB | /// | XO |Rc |
175 | OPCD | RT | RA | RB | BC | XO | /|
178 |0 |6 |11 |16 |21 |26 |31|
179 | OPCD | RS | RA | RB | MB | ME |Rc|
180 | OPCD | RS | RA | SH | MB | ME |Rc|
183 |0 |6 |11 |16 |21 |27|30|31|
184 | OPCD | RS | RA | sh | mb |XO|sh|Rc|
185 | OPCD | RS | RA | sh | me |XO|sh|Rc|
188 |0 |6 |11 |16 |21 |27 |31|
189 | OPCD | RS | RA | RB | mb | XO |Rc|
190 | OPCD | RS | RA | RB | me | XO |Rc|
193 |0 |6 |11 |16 |21|22 |26 |31|
194 | OPCD | RT | RA | RB | RC | XO |
195 | OPCD | VRT | VRA | VRB | VRC | XO |
196 | OPCD | VRT | VRA | VRB | /|SHB| XO |
199 |0 |6 |11 |16 |21|22 |31|
200 | OPCD | VRT | VRA | VRB |Rc| XO |
203 |0 |6 |11 |16 |21 |31|
204 | OPCD | VRT | VRA | VRB | XO |
205 | OPCD | VRT | /// | VRB | XO |
206 | OPCD | VRT | UIM | VRB | XO |
207 | OPCD | VRT | / UIM | VRB | XO |
208 | OPCD | VRT | // UIM | VRB | XO |
209 | OPCD | VRT | /// UIM | VRB | XO |
210 | OPCD | VRT | SIM | ///| XO |
211 | OPCD | VRT | ///| | XO |
212 | OPCD | |/// | VRB | XO |
215 |0 |6 |9 |11 |16 |21 |31|
216 | OPCD | RS | RA | RB | XO |
217 | OPCD | RS | RA | UI | XO |
218 | OPCD | RT | ///| RB | XO |
219 | OPCD | RT | RA | RB | XO |
220 | OPCD | RT | RA | ///| XO |
221 | OPCD | RT | UI | RB | XO |
222 | OPCD | BF|//| RA | RB | XO |
223 | OPCD | RT | RA | UI | XO |
224 | OPCD | RT | SI | ///| XO |
227 |0 |6 |11 |16 |21 |29 |31 |
228 | OPCD | RT| RA | RB | XO |BFA |
231 |0 |6 |9 |11 |16 |22 |31 |
232 | OPCD | BF|//| FRA | DCM | XO | / |
233 | OPCD | BF|//| FRAp | DCM | XO | / |
234 | OPCD | BF|//| FRA | DGM | XO | / |
235 | OPCD | BF|//| FRAp | DGM | XO | / |
236 | OPCD | FRT | FRA | SH | XO |Rc |
237 | OPCD | FRTp| FRAp | SH | XO |Rc |
240 |0 |6 |11 |15 |16 |21 |23 |31 |
241 | OPCD | FRT | TE | FRB |RMC| XO |Rc |
242 | OPCD | FRTp| TE | FRBp |RMC| XO |Rc |
243 | OPCD | FRT | FRA | FRB |RMC| XO |Rc |
244 | OPCD | FRTp| FRA | FRBp |RMC| XO |Rc |
245 | OPCD | FRTp| FRAp | FRBp |RMC| XO |Rc |
246 | OPCD | FRT | /// | R | FRB |RMC| XO |Rc |
247 | OPCD | FRTp| /// | R | FRBp |RMC| XO |Rc |
249 # V3.0B 1.6.6 DX-FORM
250 |0 |6 |11 |16 |26 |31
251 | OPCD| RT| d1| d0| XO|d2
253 # 1.6.28 Instruction Fields
255 Field used by the tbegin. instruction to specify an
256 implementation-specific function.
257 Field used by the tend. instruction to specify the
258 completion of the outer transaction and all nested
263 0 The immediate field represents an address
264 relative to the current instruction address. For
265 I-form branches the effective address of the
266 branch target is the sum of the LI field
267 sign-extended to 64 bits and the address of
268 the branch instruction. For B-form branches
269 the effective address of the branch target is
270 the sum of the BD field sign-extended to 64
271 bits and the address of the branch instruction.
272 1 The immediate field represents an absolute
273 address. For I-form branches the effective
274 address of the branch target is the LI field
275 sign-extended to 64 bits. For B-form branches
276 the effective address of the branch target is
277 the BD field sign-extended to 64 bits.
280 Fields that are concatenated to specify a VSR to
284 Field used to specify a bit in the CR to be used as
288 Field used to specify a bit in the CR to be used as
292 Field used to specify a bit in the CR to be used as
296 Immediate field used to specify a 14-bit signed
297 two's complement branch displacement which is
298 concatenated on the right with 0b00 and
299 sign-extended to 64 bits.
302 Field used to specify one of the CR fields or one of
303 the FPSCR fields to be used as a target.
304 Formats: D, X, XL, XX2, XX3, Z22
306 Field used to specify one of the CR fields or one of
307 the FPSCR fields to be used as a source.
310 Field used to specify one of the CR fields or one of
311 the FPSCR fields to be used as a source.
314 Field used to specify a hint in the Branch Condi-
315 tional to Link Register and Branch Conditional to
316 Count Register instructions. The encoding is
317 described in Section 2.4, 'Branch Instructions'.
320 Field used to identify the BHRB entry to be used
321 as a source by the Move From Branch History
322 Rolling Buffer instruction.
325 Field used to specify a bit in the CR to be tested by
326 a Branch Conditional instruction.
329 Field used to specify options for the Branch Condi-
330 tional instructions. The encoding is described in
331 Section 2.4, 'Branch Instructions'.
332 Formats: B, XL, X, XL
334 Field used to specify a bit in the CR or in the
335 FPSCR to be used as a target.
338 Fields that are concatenated to specify a VSR to
340 Formats: XX2, XX3, XX4
342 Field used in X-form instructions to specify a cache
343 target (see Section 4.3.2 of Book II).
346 Fields that are concatenated to specify a VSR to
350 Immediate field used to specify a 16-bit signed
351 two's complement integer which is sign-extended
354 d0,d1,d2 (16:25,11:15,31)
355 Immediate fields that are concatenated to specify a
356 16-bit signed two's complement integer which is
357 sign-extended to 64 bits.
359 dc,dm,dx (25,29,11:15)
360 Immediate fields that are concatenated to specify
364 Immediate field used to specify Data Class Mask.
367 Immediate field used to specify Data Class Mask.
370 Immediate field used as the Data Group Mask.
373 Immediate field used by xxpermdi instruction as
374 doubleword permute control.
377 Immediate operand field used to specify new deci-
378 mal floating-point rounding mode.
381 Field used by the dnh instruction (see Book III-E).
384 Field used by the dnh instruction (see Book III-E).
387 Immediate field used to specify a 12-bit signed
388 two's complement integer which is concatenated
389 on the right with 0b0000 and sign-extended to 64
393 Immediate field used to specify a 14-bit signed
394 two's complement integer which is concatenated
395 on the right with 0b00 and sign-extended to 64 bits.
398 Field used by the Write MSR External Enable
399 instruction (see Book III-E).
402 Field used to specify the access types ordered by
403 an Elemental Memory Barrier type of sync instruc-
406 Field used to specify a hint in the Load and
407 Reserve instructions. The meaning is described in
408 Section 4.6.2, 'Load and Reserve and Store Con-
409 ditional Instructions', in Book II.
412 Expanded opcode field
415 Expanded opcode field
418 Field used to specify Inexact form of round to
419 quad-precision integer.
422 Field used to specify the function code in Load/
423 Store Atomic instructions.
426 Field mask used to identify the FPSCR fields that
427 are to be updated by the mtfsf instruction.
430 Field used to specify a FPR to be used as a
432 Formats: A, X, Z22, Z23
434 Field used to specify an even/odd pair of FPRs to
435 be concatenated and used as a source.
438 Field used to specify an FPR to be used as a
440 Formats: A, X, XFL, Z23
442 Field used to specify an even/odd pair of FPRs to
443 be concatenated and used as a source.
446 Field used to specify an FPR to be used as a
450 Field used to specify an FPR to be used as a
454 Field used to specify an even/odd pair of FPRs to
455 be concatenated and used as a source.
458 Field used to specify an FPR to be used as a tar-
460 Formats: A, D, X, Z22, Z23
462 Field used to specify an even/odd pair of FPRs to
463 be concatenated and used as a target.
464 Formats: DS, X, Z22, Z23
466 Field mask used to identify the CR fields that are to
467 be written by the mtcrf and mtocrf instructions, or
468 read by the mfocrf instruction.
471 Immediate field used to specify a 5-bit signed inte-
475 Field used to specify a hint in the SLB Invalidate
476 All instruction. The meaning is described in
477 Section 5.9.3.2, 'SLB Management Instructions',
481 Immediate field used to specify an 8-bit integer.
484 Immediate field used to specify a 5-bit signed inte-
488 Field used to specify whether the mtfsf instruction
489 updates the entire FPSCR.
492 Field used by the Data Cache Block Flush instruc-
493 tion (see Section 4.3.2 of Book II) and also by the
494 Synchronize instruction (see Section 4.6.3 of Book
498 Field used to specify whether a fixed-point Com-
499 pare instruction is to compare 64-bit numbers or
501 Field used by the Compare Range Byte instruction
502 to indicate whether to compare against 1 or 2
506 Field used by the Move To Machine State Register
507 instruction (see Book III).
508 Field used by the SLB Move From Entry VSID and
509 SLB Move From Entry ESID instructions for imple-
510 mentation-specific purposes.
513 Field used by the Deliver A Random Number
514 instruction (see Section 3.3.9, 'Fixed-Point Arith-
515 metic Instructions') to choose the random number
519 Field used by the System Call instructions.
522 Immediate field used to specify a 24-bit signed
523 two's complement integer which is concatenated
524 on the right with 0b00 and sign-extended to 64
529 0 Do not set the Link Register.
530 1 Set the Link Register. The address of the
531 instruction following the Branch instruction is
532 placed into the Link Register.
535 Field used in M-form instructions to specify the first
536 1-bit of a 64-bit mask, as described in
537 Section 3.3.14, 'Fixed-Point Rotate and Shift
538 Instructions' on page 101.
541 Field used in MD-form and MDS-form instructions
542 to specify the first 1-bit of a 64-bit mask, as
543 described in Section 3.3.14, 'Fixed-Point Rotate
544 and Shift Instructions' on page 101.
547 Field used in MD-form and MDS-form instructions
548 to specify the last 1-bit of a 64-bit mask, as
549 described in Section 3.3.14, 'Fixed-Point Rotate
550 and Shift Instructions' on page 101.
553 Field used in M-form instructions to specify the last
554 1-bit of a 64-bit mask, as described in
555 Section 3.3.14, 'Fixed-Point Rotate and Shift
556 Instructions' on page 101.
559 Field used in X-form instructions to specify a sub-
560 set of storage accesses.
563 Field used to specify the number of bytes to move
564 in an immediate Move Assist instruction.
567 Field used by the Embedded Hypervisor Privilege
571 Primary opcode field.
574 Field used by XO-form instructions to enable set-
575 ting OV and SO in the XER.
581 Field used to specify whether to invalidate pro-
582 cess- or partition-scoped entries for tlbie[l].
585 Field used to specify preferred sign for BCD opera-
589 Immediate field used to specify a 4-bit unsigned
593 Field used by the tbegin. instruction to specify the
597 Immediate field that specifies whether the RMC is
598 specifying the primary or secondary encoding
599 Field used to specify whether to invalidate Radix
600 Tree or HPT entries for tlbie[l].
603 Field used to specify a GPR to be used as a
604 source or as a target.
605 Formats: A, D, DQ, DQE, DS, M, MD, MDS, TX, VA, VX, X, XO, XS
607 Field used to specify a GPR to be used as a
609 Formats: A, M, MDS, VA, X, XO
612 0 Do not alter the Condition Register.
613 1 Set Condition Register Field 6 as described in
614 Section 2.3.1, 'Condition Register' on
618 Field used to specify a GPR to be used as a
623 0 Do not alter the Condition Register.
624 1 Set Condition Register Field 0 or Field 1 as
625 described in Section 2.3.1, 'Condition Regis-
627 Formats: A, M, MD, MDS, X, XFL, XO, XS, Z22, Z23
629 Field used to specify what types of entries to inval-
633 Immediate operand field used to specify new
634 binary floating-point rounding mode.
637 Immediate field used for DFP rounding mode con-
641 Round to Odd override
644 Field used to specify a GPR to be used as a
646 Formats: D, DS, M, MD, MDS, X, XFX, XS
648 Field used to specify an even/odd pair of GPRs to
649 be concatenated and used as a source.
652 Field used to specify a GPR to be used as a target.
653 Formats: A, D, DQE, DS, DX, VA, VX, X, XFX, XO, XX2
655 Field used to specify an even/odd pair of GPRs to
656 be concatenated and used as a target.
659 Immediate field that specifies signed versus
663 Immediate field that specifies whether or not the
664 rfebb instruction re-enables event-based
668 Field used to specify a shift amount.
671 Field used to specify a shift amount.
674 Fields that are concatenated to specify a shift
678 Field used to specify a shift amount in bytes.
681 Field used to specify a shift amount in words.
684 Immediate field used to specify a 5-bit signed inte-
688 Immediate field used to specify a 16-bit signed
692 Immediate field used to specify a 5-bit signed inte-
696 Immediate field that specifies signed versus
700 Field used to specify a Special Purpose Register
701 for the mtspr and mfspr instructions.
704 Field used by the Segment Register Manipulation
705 instructions (see Book III).
708 Fields SX and S are concatenated to specify a
709 VSR to be used as a source.
712 Fields SX and S are concatenated to specify a
713 VSR to be used as a source.
716 Field used to specify the type of invalidation done
717 by a TLB Invalidate Local instruction (see Book
721 Field used by the Move From Time Base instruc-
722 tion (see Section 6.1 of Book II).
725 Immediate field that specifies a DFP exponent.
728 Field used by the data stream variant of the dcbt
729 and dcbtst instructions (see Section 4.3.2 of Book
733 Field used to specify the conditions on which to
734 trap. The encoding is described in
735 Section 3.3.10.1, 'Character-Type Compare
736 Instructions' on page 87.
739 Fields that are concatenated to specify a VSR to
740 be used as either a target.
743 Fields that are concatenated to specify a VSR to
744 be used as either a target or a source.
745 Formats: X, XX2, XX3, XX4
747 Immediate field used as the data to be placed into
748 a field in the FPSCR.
751 Immediate field used to specify a 5-bit unsigned
755 Immediate field used to specify a 16-bit unsigned
759 Immediate field used to specify a 5-bit unsigned
763 Immediate field used to specify a 4-bit unsigned
767 Immediate field used to specify a 3-bit unsigned
771 Immediate field used to specify a 2-bit unsigned
775 Field used to specify a VR to be used as a source.
778 Field used to specify a VR to be used as a source.
781 Field used to specify a VR to be used as a source.
784 Field used to specify a VR to be used as a source.
787 Field used to specify a VR to be used as a target.
788 Formats: DS, VA, VC, VX, X
790 Field used by the mtfsfi and mtfsf instructions to
791 specify the target word in the FPSCR.
794 Field used to specify the condition or conditions
795 that cause instruction execution to resume after
796 executing a wait instruction (see Section 4.6.4 of
800 Field used to specify a bit in the XER.
801 Formats: MDS, MDS, TX
803 Extended opcode field.
806 Extended opcode field.
809 Extended opcode field.
812 Extended opcode field.
815 Extended opcode field.
818 Extended opcode field.
819 Formats: X, XFL, XFX, XL
821 Extended opcode field.
824 Extended opcode field.
825 Formats: XO, XX3, Z22
827 Extended opcode field.
830 Extended opcode field.
833 Extended opcode field.
836 Extended opcode field.
839 Extended opcode field.
842 Extended opcode field.
845 Extended opcode field.
848 Extended opcode field.
851 Extended opcode field.
854 Extended opcode field.
857 Extended opcode field.