7 | PO | BO| BI | BD |AA|LK |
10 |0 |6 |11 |16 |20 |27 |30 |31 |
11 | PO | ///| ///| // | LEV | //| 1| / |
14 |0 |6 |9 |10 |11 |16 |31 |
19 | PO | BF | / | L | RA| SI |
20 | PO | BF | / | L | RA| UI |
26 |0 |6 |11 |16 |30 |31 |
27 | PO | RT | RA | DS | XO |
28 | PO | RS | RA | DS | XO |
29 | PO | RSp | RA | DS | XO |
30 | PO | FRTp | RA | DS | XO |
31 | PO | FRSp | RA | DS | XO |
34 |0 |6 |11 |16 |28|29 |31 |
35 | PO | RTp | RA | DQ | PT |
36 | PO | S | RA | DQ |SX| XO |
37 | PO | T | RA | DQ |TX| XO |
40 |0 |6 |7|8|9 |10 |11|12|13 |15|16|17 |20|21 |31 |
41 | PO | RT | RA | /// | XO | / |
42 | PO | RT | RA | RB | XO | / |
43 | PO | RT | RA | RB | XO |EH |
44 | PO | RT | RA | NB | XO | / |
45 | PO | RT | /|SR | /// | XO | / |
46 | PO | RT | /// | RB | XO | / |
47 | PO | RT | /// | RB | XO | 1 |
48 | PO | RT | /// | /// | XO | / |
49 | PO | RS | RA | RB | XO |Rc |
50 | PO | RT | RA | RB | XO |Rc |
51 | PO | RS | RA | RB | XO | 1 |
52 | PO | RS | RA | RB | XO | / |
53 | PO | RS | RA | NB | XO | / |
54 | PO | RS | RA | SH | XO |Rc |
55 | PO | RS | RA | /// | XO |Rc |
56 | PO | RS | RA | /// | XO | / |
57 | PO | RS | /|SR | /// | XO | / |
58 | PO | RS | /// | RB | XO | / |
59 | PO | RS | /// | /// | XO | / |
60 | PO | RS | /// |L1| /// | XO | / |
61 | PO | TH | RA | RB | XO | / |
62 | PO | BF |/ | L | RA | RB | XO | / |
63 | PO | BF |// | FRA | FRB | XO | / |
64 | PO | BF |// | BFA | // | /// | XO | / |
65 | PO | BF |// | /// |W | U |/ | XO |Rc |
66 | PO | BF |// | /// | /// | XO | / |
67 | PO | TH | RA | RB | XO | / |
68 | PO | /| CT | /// | /// | XO | / |
69 | PO | /| CT | RA | RB | XO | / |
70 | PO | /// | L2 | RA | RB | XO | / |
71 | PO | /// | L2 | /// | RB | XO | / |
72 | PO | /// | L2 | /// | /// | XO | / |
73 | PO | /// | L2 | /| E | /// | XO | / |
74 | PO | TO | RA | RB | XO | / |
75 | PO | FRT | RA | RB | XO | / |
76 | PO | FRT | FRA | FRB | XO | / |
77 | PO | FRTp | RA | RB | XO | / |
78 | PO | FRT | /// | FRB | XO |Rc |
79 | PO | FRT | /// | FRBp | XO |Rc |
80 | PO | FRT | /// | /// | XO |Rc |
81 | PO | FRTp | /// | FRB | XO |Rc |
82 | PO | FRTp | /// | FRBp | XO |Rc |
83 | PO | FRTp | FRA | FRBp | XO |Rc |
84 | PO | FRTp | FRAp | FRBp | XO |Rc |
85 | PO | BF |// | FRA | FRBp | XO | / |
86 | PO | BF |// | FRAp | FRBp | XO | / |
87 | PO | FRT |S | | FRB | XO |Rc |
88 | PO | FRTp |S | | FRBp | XO |Rc |
89 | PO | FRS | RA | RB | XO | / |
90 | PO | FRSp | RA | RB | XO | / |
91 | PO | BT | /// | /// | XO |Rc |
92 | PO | /// | RA | RB | XO | / |
93 | PO | /// | /// | RB | XO | / |
94 | PO | /// | /// | /// | XO | / |
95 | PO | /// | /// | E|/// | XO | / |
96 | PO | //|IH | /// | /// | XO | / |
97 | PO | A|// | /// | /// | XO | 1 |
98 | PO | A|// |R | /// | /// | XO | 1 |
99 | PO | /// | RA | RB | XO | 1 |
100 | PO | /// |WC | /// | /// | XO | / |
101 | PO | /// |T | RA | RB | XO | / |
102 | PO | VRT | RA | RB | XO | / |
103 | PO | VRS | RA | RB | XO | / |
104 | PO | MO | /// | /// | XO | / |
105 | PO | RT | /// |L3 | /// | XO | / |
108 |0 |6 |9 |11 |14 |16 |19|20|21 |31 |
109 | PO | BT | BA | BB | XO | / |
110 | PO | BO | BI | /// |BH | XO |LK |
111 | PO | | /// |S | XO | / |
112 | PO | BF |// |BFA |// | /// | XO | / |
113 | PO | /// | XO | / |
117 |0 |6 |11|12 |20|21 |31 |
118 | PO | RT | spr | XO | / |
119 | PO | RT | tbr | XO | / |
120 | PO | RT |0 | /// | XO | / |
121 | PO | RT |1 | FXM |/ | XO | / |
122 | PO | RT | dcr | XO | / |
123 | PO | RT | pmrn | XO | / |
124 | PO | RT | BHRBE | XO | / |
125 | PO | DUI | DUIS | XO | / |
126 | PO | RS |0 | FXM |/ | XO | / |
127 | PO | RS |1 | FXM |/ | XO | / |
128 | PO | RS | spr | XO | / |
129 | PO | RS | dcr | XO | / |
130 | PO | RS | pmrn | XO | / |
133 |0 |6|7 |15|16 |21 |31 |
134 | PO |L| FLM |W |FRB | XO |Rc |
137 |0 |6 |11 |16 |21 |31 |
138 | PO | T | RA | RB | XO |TX |
139 | PO | S | RA | RB | XO |SX |
142 |0 |6 |9 |11 |14 |16 |21 |30|31 |
143 | PO | T | /// | B |XO |BX|TX |
144 | PO | T | /// |UIM | B |XO |BX|TX |
145 | PO | BF | //| /// | B |XO |BX| / |
148 |0 |6 |9 |11 |16 |21 |22 |24 |29|30|31 |
149 | PO | T | A | B | XO |AX|BX|TX |
150 | PO | T | A | B |Rc | XO |AX|BX|TX |
151 | PO | BF | // | A | B | XO |AX|BX|/ |
152 | PO | T | A | B |XO |SHW | XO |AX|BX|TX |
153 | PO | T | A | B |XO |DM | XO |AX|BX|TX |
156 |0 |6 |11 |16 |21 |26 |28|29 |30|31 |
157 | PO | T | A | B | C | XO |CX|AX |BX|TX |
160 |0 |6 |11 |16 |21 |30|31 |
161 | PO | RS | RA | sh | XO |sh|Rc |
164 |0 |6 |11 |16 |21 |22 |31 |
165 | PO | RT| RA| RB |OE | XO |Rc |
166 | PO | RT| RA| RB | /| XO |Rc |
167 | PO | RT| RA| RB | /| XO | / |
168 | PO | RT| RA| /// |OE | XO |Rc |
171 |0 |6 |11 |16 |21 |26 |31 |
172 | PO | FRT | FRA | FRB | FRC | XO |Rc |
173 | PO | FRT | FRA | FRB | /// | XO |Rc |
174 | PO | FRT | FRA | /// | FRC | XO |Rc |
175 | PO | FRT | /// | FRB | /// | XO |Rc |
176 | PO | RT | RA | RB | BC | XO | /|
179 |0 |6 |11 |16 |21 |26 |31|
180 | PO | RS | RA | RB | MB | ME |Rc|
181 | PO | RS | RA | SH | MB | ME |Rc|
184 |0 |6 |11 |16 |21 |27|30|31|
185 | PO | RS | RA | sh | mb |XO|sh|Rc|
186 | PO | RS | RA | sh | me |XO|sh|Rc|
189 |0 |6 |11 |16 |21 |27 |31|
190 | PO | RS | RA | RB | mb | XO |Rc|
191 | PO | RS | RA | RB | me | XO |Rc|
194 |0 |6 |11 |16 |21|22 |26 |31|
195 | PO | RT | RA | RB | RC | XO |
196 | PO | VRT | VRA | VRB | VRC | XO |
197 | PO | VRT | VRA | VRB | /|SHB| XO |
200 |0 |6 |11 |16 |21|22 |31|
201 | PO | VRT | VRA | VRB |Rc| XO |
204 |0 |6 |11 |16 |21 |31|
205 | PO | VRT | VRA | VRB | XO |
206 | PO | VRT | /// | VRB | XO |
207 | PO | VRT | UIM | VRB | XO |
208 | PO | VRT | / UIM | VRB | XO |
209 | PO | VRT | // UIM | VRB | XO |
210 | PO | VRT | /// UIM | VRB | XO |
211 | PO | VRT | SIM | ///| XO |
212 | PO | VRT | ///| | XO |
213 | PO | |/// | VRB | XO |
216 |0 |6 |9 |11 |16 |21 |31|
217 | PO | RS | RA | RB | XO |
218 | PO | RS | RA | UI | XO |
219 | PO | RT | ///| RB | XO |
220 | PO | RT | RA | RB | XO |
221 | PO | RT | RA | ///| XO |
222 | PO | RT | UI | RB | XO |
223 | PO | BF|//| RA | RB | XO |
224 | PO | RT | RA | UI | XO |
225 | PO | RT | SI | ///| XO |
228 |0 |6 |11 |16 |21 |29 |31 |
229 | PO | RT| RA | RB | XO |BFA |
232 |0 |6 |9 |11 |16 |22 |31 |
233 | PO | BF|//| FRA | DCM | XO | / |
234 | PO | BF|//| FRAp | DCM | XO | / |
235 | PO | BF|//| FRA | DGM | XO | / |
236 | PO | BF|//| FRAp | DGM | XO | / |
237 | PO | FRT | FRA | SH | XO |Rc |
238 | PO | FRTp| FRAp | SH | XO |Rc |
241 |0 |6 |11 |15 |16 |21 |23 |31 |
242 | PO | FRT | TE | FRB |RMC| XO |Rc |
243 | PO | FRTp| TE | FRBp |RMC| XO |Rc |
244 | PO | FRT | FRA | FRB |RMC| XO |Rc |
245 | PO | FRTp| FRA | FRBp |RMC| XO |Rc |
246 | PO | FRTp| FRAp | FRBp |RMC| XO |Rc |
247 | PO | FRT | /// | R | FRB |RMC| XO |Rc |
248 | PO | FRTp| /// | R | FRBp |RMC| XO |Rc |
250 # V3.0B 1.6.6 DX-FORM
251 |0 |6 |11 |16 |26 |31
252 | PO | RT| d1| d0| XO|d2
255 |0 |6 |11 |16 |22 |24 |25 |26 |31 |
256 | PO | RT | RA | SVi |// |vs |ms | XO |Rc |
258 # 1.6.28 Instruction Fields
260 Field used by the tbegin. instruction to specify an
261 implementation-specific function.
262 Field used by the tend. instruction to specify the
263 completion of the outer transaction and all nested
268 0 The immediate field represents an address
269 relative to the current instruction address. For
270 I-form branches the effective address of the
271 branch target is the sum of the LI field
272 sign-extended to 64 bits and the address of
273 the branch instruction. For B-form branches
274 the effective address of the branch target is
275 the sum of the BD field sign-extended to 64
276 bits and the address of the branch instruction.
277 1 The immediate field represents an absolute
278 address. For I-form branches the effective
279 address of the branch target is the LI field
280 sign-extended to 64 bits. For B-form branches
281 the effective address of the branch target is
282 the BD field sign-extended to 64 bits.
285 Fields that are concatenated to specify a VSR to
289 Field used to specify a bit in the CR to be used as
293 Field used to specify a bit in the CR to be used as
297 Field used to specify a bit in the CR to be used as
301 Immediate field used to specify a 14-bit signed
302 two's complement branch displacement which is
303 concatenated on the right with 0b00 and
304 sign-extended to 64 bits.
307 Field used to specify one of the CR fields or one of
308 the FPSCR fields to be used as a target.
309 Formats: D, X, XL, XX2, XX3, Z22
311 Field used to specify one of the CR fields or one of
312 the FPSCR fields to be used as a source.
315 Field used to specify one of the CR fields or one of
316 the FPSCR fields to be used as a source.
319 Field used to specify a hint in the Branch Condi-
320 tional to Link Register and Branch Conditional to
321 Count Register instructions. The encoding is
322 described in Section 2.4, 'Branch Instructions'.
325 Field used to identify the BHRB entry to be used
326 as a source by the Move From Branch History
327 Rolling Buffer instruction.
330 Field used to specify a bit in the CR to be tested by
331 a Branch Conditional instruction.
334 Field used to specify options for the Branch Condi-
335 tional instructions. The encoding is described in
336 Section 2.4, 'Branch Instructions'.
337 Formats: B, XL, X, XL
339 Field used to specify a bit in the CR or in the
340 FPSCR to be used as a target.
343 Fields that are concatenated to specify a VSR to
345 Formats: XX2, XX3, XX4
347 Field used in X-form instructions to specify a cache
348 target (see Section 4.3.2 of Book II).
351 Fields that are concatenated to specify a VSR to
355 Immediate field used to specify a 16-bit signed
356 two's complement integer which is sign-extended
359 d0,d1,d2 (16:25,11:15,31)
360 Immediate fields that are concatenated to specify a
361 16-bit signed two's complement integer which is
362 sign-extended to 64 bits.
364 dc,dm,dx (25,29,11:15)
365 Immediate fields that are concatenated to specify
369 Immediate field used to specify Data Class Mask.
372 Immediate field used to specify Data Class Mask.
375 Immediate field used as the Data Group Mask.
378 Immediate field used by xxpermdi instruction as
379 doubleword permute control.
382 Immediate operand field used to specify new deci-
383 mal floating-point rounding mode.
386 Field used by the dnh instruction (see Book III-E).
389 Field used by the dnh instruction (see Book III-E).
392 Immediate field used to specify a 12-bit signed
393 two's complement integer which is concatenated
394 on the right with 0b0000 and sign-extended to 64
398 Immediate field used to specify a 14-bit signed
399 two's complement integer which is concatenated
400 on the right with 0b00 and sign-extended to 64 bits.
403 Field used by the Write MSR External Enable
404 instruction (see Book III-E).
407 Field used to specify the access types ordered by
408 an Elemental Memory Barrier type of sync instruc-
411 Field used to specify a hint in the Load and
412 Reserve instructions. The meaning is described in
413 Section 4.6.2, 'Load and Reserve and Store Con-
414 ditional Instructions', in Book II.
417 Expanded opcode field
420 Expanded opcode field
423 Field used to specify Inexact form of round to
424 quad-precision integer.
427 Field used to specify the function code in Load/
428 Store Atomic instructions.
431 Field mask used to identify the FPSCR fields that
432 are to be updated by the mtfsf instruction.
435 Field used to specify a FPR to be used as a
437 Formats: A, X, Z22, Z23
439 Field used to specify an even/odd pair of FPRs to
440 be concatenated and used as a source.
443 Field used to specify an FPR to be used as a
445 Formats: A, X, XFL, Z23
447 Field used to specify an even/odd pair of FPRs to
448 be concatenated and used as a source.
451 Field used to specify an FPR to be used as a
455 Field used to specify an FPR to be used as a
459 Field used to specify an even/odd pair of FPRs to
460 be concatenated and used as a source.
463 Field used to specify an FPR to be used as a tar-
465 Formats: A, D, X, Z22, Z23
467 Field used to specify an even/odd pair of FPRs to
468 be concatenated and used as a target.
469 Formats: DS, X, Z22, Z23
471 Field mask used to identify the CR fields that are to
472 be written by the mtcrf and mtocrf instructions, or
473 read by the mfocrf instruction.
476 Immediate field used to specify a 5-bit signed inte-
480 Field used to specify a hint in the SLB Invalidate
481 All instruction. The meaning is described in
482 Section 5.9.3.2, 'SLB Management Instructions',
486 Immediate field used to specify an 8-bit integer.
489 Immediate field used to specify a 5-bit signed inte-
493 Field used to specify whether the mtfsf instruction
494 updates the entire FPSCR.
497 Field used by the Data Cache Block Flush instruc-
498 tion (see Section 4.3.2 of Book II) and also by the
499 Synchronize instruction (see Section 4.6.3 of Book
503 Field used to specify whether a fixed-point Com-
504 pare instruction is to compare 64-bit numbers or
506 Field used by the Compare Range Byte instruction
507 to indicate whether to compare against 1 or 2
511 Field used by the Move To Machine State Register
512 instruction (see Book III).
513 Field used by the SLB Move From Entry VSID and
514 SLB Move From Entry ESID instructions for imple-
515 mentation-specific purposes.
518 Field used by the Deliver A Random Number
519 instruction (see Section 3.3.9, 'Fixed-Point Arith-
520 metic Instructions') to choose the random number
524 Field used by the System Call instructions.
527 Immediate field used to specify a 24-bit signed
528 two's complement integer which is concatenated
529 on the right with 0b00 and sign-extended to 64
534 0 Do not set the Link Register.
535 1 Set the Link Register. The address of the
536 instruction following the Branch instruction is
537 placed into the Link Register.
540 Field used in M-form instructions to specify the first
541 1-bit of a 64-bit mask, as described in
542 Section 3.3.14, 'Fixed-Point Rotate and Shift
543 Instructions' on page 101.
546 Field used in MD-form and MDS-form instructions
547 to specify the first 1-bit of a 64-bit mask, as
548 described in Section 3.3.14, 'Fixed-Point Rotate
549 and Shift Instructions' on page 101.
552 Field used in MD-form and MDS-form instructions
553 to specify the last 1-bit of a 64-bit mask, as
554 described in Section 3.3.14, 'Fixed-Point Rotate
555 and Shift Instructions' on page 101.
558 Field used in M-form instructions to specify the last
559 1-bit of a 64-bit mask, as described in
560 Section 3.3.14, 'Fixed-Point Rotate and Shift
561 Instructions' on page 101.
564 Field used in X-form instructions to specify a sub-
565 set of storage accesses.
568 Field used in Simple-V to specify whether MVL is to be set
571 Field used to specify the number of bytes to move
572 in an immediate Move Assist instruction.
575 Field used by the Embedded Hypervisor Privilege
579 Field used by XO-form instructions to enable set-
580 ting OV and SO in the XER.
583 Primary opcode field.
586 Field used to specify whether to invalidate pro-
587 cess- or partition-scoped entries for tlbie[l].
590 Field used to specify preferred sign for BCD opera-
594 Immediate field used to specify a 4-bit unsigned
598 Field used by the tbegin. instruction to specify the
602 Immediate field that specifies whether the RMC is
603 specifying the primary or secondary encoding
604 Field used to specify whether to invalidate Radix
605 Tree or HPT entries for tlbie[l].
608 Field used to specify a GPR to be used as a
609 source or as a target.
610 Formats: A, D, DQ, DQE, DS, M, MD, MDS, TX, VA, VX, X, XO, XS, SVL
612 Field used to specify a GPR to be used as a
614 Formats: A, M, MDS, VA, X, XO
617 0 Do not alter the Condition Register.
618 1 Set Condition Register Field 6 as described in
619 Section 2.3.1, 'Condition Register' on
623 Field used to specify a GPR to be used as a
628 0 Do not alter the Condition Register.
629 1 Set Condition Register Field 0 or Field 1 as
630 described in Section 2.3.1, 'Condition Regis-
632 Formats: A, M, MD, MDS, X, XFL, XO, XS, Z22, Z23, SVL
634 Field used to specify what types of entries to inval-
638 Immediate operand field used to specify new
639 binary floating-point rounding mode.
642 Immediate field used for DFP rounding mode con-
646 Round to Odd override
649 Field used to specify a GPR to be used as a
651 Formats: D, DS, M, MD, MDS, X, XFX, XS
653 Field used to specify an even/odd pair of GPRs to
654 be concatenated and used as a source.
657 Field used to specify a GPR to be used as a target.
658 Formats: A, D, DQE, DS, DX, VA, VX, X, XFX, XO, XX2, SVL
660 Field used to specify an even/odd pair of GPRs to
661 be concatenated and used as a target.
664 Immediate field that specifies signed versus
668 Immediate field that specifies whether or not the
669 rfebb instruction re-enables event-based
673 Field used to specify a shift amount.
676 Field used to specify a shift amount.
679 Fields that are concatenated to specify a shift
683 Field used to specify a shift amount in bytes.
686 Field used to specify a shift amount in words.
689 Immediate field used to specify a 5-bit signed inte-
693 Immediate field used to specify a 16-bit signed
697 Immediate field used to specify a 5-bit signed inte-
701 Immediate field that specifies signed versus
705 Field used to specify a Special Purpose Register
706 for the mtspr and mfspr instructions.
709 Field used by the Segment Register Manipulation
710 instructions (see Book III).
713 Simple-V immediate field for setting VL or MVL
716 Fields SX and S are concatenated to specify a
717 VSR to be used as a source.
720 Fields SX and S are concatenated to specify a
721 VSR to be used as a source.
724 Field used to specify the type of invalidation done
725 by a TLB Invalidate Local instruction (see Book
729 Field used by the Move From Time Base instruc-
730 tion (see Section 6.1 of Book II).
733 Immediate field that specifies a DFP exponent.
736 Field used by the data stream variant of the dcbt
737 and dcbtst instructions (see Section 4.3.2 of Book
741 Field used to specify the conditions on which to
742 trap. The encoding is described in
743 Section 3.3.10.1, 'Character-Type Compare
744 Instructions' on page 87.
747 Fields that are concatenated to specify a VSR to
748 be used as either a target.
751 Fields that are concatenated to specify a VSR to
752 be used as either a target or a source.
753 Formats: X, XX2, XX3, XX4
755 Immediate field used as the data to be placed into
756 a field in the FPSCR.
759 Immediate field used to specify a 5-bit unsigned
763 Immediate field used to specify a 16-bit unsigned
767 Immediate field used to specify a 5-bit unsigned
771 Immediate field used to specify a 4-bit unsigned
775 Immediate field used to specify a 3-bit unsigned
779 Immediate field used to specify a 2-bit unsigned
783 Field used to specify a VR to be used as a source.
786 Field used to specify a VR to be used as a source.
789 Field used to specify a VR to be used as a source.
792 Field used to specify a VR to be used as a source.
795 Field used to specify a VR to be used as a target.
796 Formats: DS, VA, VC, VX, X
798 Field used in Simple-V to specify whether VL is to be set
801 Field used by the mtfsfi and mtfsf instructions to
802 specify the target word in the FPSCR.
805 Field used to specify the condition or conditions
806 that cause instruction execution to resume after
807 executing a wait instruction (see Section 4.6.4 of
811 Field used to specify a bit in the XER.
812 Formats: MDS, MDS, TX
814 Extended opcode field.
817 Extended opcode field.
820 Extended opcode field.
823 Extended opcode field.
826 Extended opcode field.
829 Extended opcode field.
830 Formats: X, XFL, XFX, XL
832 Extended opcode field.
835 Extended opcode field.
836 Formats: XO, XX3, Z22
838 Extended opcode field.
841 Extended opcode field.
844 Extended opcode field.
847 Extended opcode field.
850 Extended opcode field.
853 Extended opcode field.
856 Extended opcode field.
859 Extended opcode field.
862 Extended opcode field.
865 Extended opcode field.
868 Extended opcode field.