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 | /// |L1| /// | 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 | /// | L2 | RA | RB | XO | / |
71 | OPCD | /// | L2 | /// | RB | XO | / |
72 | OPCD | /// | L2 | /// | /// | XO | / |
73 | OPCD | /// | L2 | /| 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 | / |
105 | OPCD | RT | /// |L3 | /// | XO | / |
108 |0 |6 |9 |11 |14 |16 |19|20|21 |31 |
109 | OPCD | BT | BA | BB | XO | / |
110 | OPCD | BO | BI | /// |BH | XO |LK |
111 | OPCD | | /// |S | XO | / |
112 | OPCD | BF |// |BFA |// | /// | XO | / |
113 | OPCD | /// | XO | / |
114 | OPCD | OC | XO | / |
117 |0 |6 |11|12 |20|21 |31 |
118 | OPCD | RT | spr | XO | / |
119 | OPCD | RT | tbr | XO | / |
120 | OPCD | RT |0 | /// | XO | / |
121 | OPCD | RT |1 | FXM |/ | XO | / |
122 | OPCD | RT | dcr | XO | / |
123 | OPCD | RT | pmrn | XO | / |
124 | OPCD | RT | BHRBE | XO | / |
125 | OPCD | DUI | DUIS | XO | / |
126 | OPCD | RS |0 | FXM |/ | XO | / |
127 | OPCD | RS |1 | FXM |/ | XO | / |
128 | OPCD | RS | spr | XO | / |
129 | OPCD | RS | dcr | XO | / |
130 | OPCD | RS | pmrn | XO | / |
133 |0 |6|7 |15|16 |21 |31 |
134 | OPCD |L| FLM |W |FRB | XO |Rc |
137 |0 |6 |11 |16 |21 |31 |
138 | OPCD | T | RA | RB | XO |TX |
139 | OPCD | S | RA | RB | XO |SX |
142 |0 |6 |9 |11 |14 |16 |21 |30|31 |
143 | OPCD | T | /// | B |XO |BX|TX |
144 | OPCD | T | /// |UIM | B |XO |BX|TX |
145 | OPCD | BF | //| /// | B |XO |BX| / |
148 |0 |6 |9 |11 |16 |21 |22 |24 |29|30|31 |
149 | OPCD | T | A | B | XO |AX|BX|TX |
150 | OPCD | T | A | B |Rc | XO |AX|BX|TX |
151 | OPCD | BF | // | A | B | XO |AX|BX|/ |
152 | OPCD | T | A | B |XO |SHW | XO |AX|BX|TX |
153 | OPCD | T | A | B |XO |DM | XO |AX|BX|TX |
156 |0 |6 |11 |16 |21 |26 |28|29 |30|31 |
157 | OPCD | T | A | B | C | XO |CX|AX |BX|TX |
160 |0 |6 |11 |16 |21 |30|31 |
161 | OPCD | RS | RA | sh | XO |sh|Rc |
164 |0 |6 |11 |16 |21 |22 |31 |
165 | OPCD | RT| RA| RB |OE | XO |Rc |
166 | OPCD | RT| RA| RB | /| XO |Rc |
167 | OPCD | RT| RA| RB | /| XO | / |
168 | OPCD | RT| RA| /// |OE | XO |Rc |
171 |0 |6 |11 |16 |21 |26 |31 |
172 | OPCD | FRT | FRA | FRB | FRC | XO |Rc |
173 | OPCD | FRT | FRA | FRB | /// | XO |Rc |
174 | OPCD | FRT | FRA | /// | FRC | XO |Rc |
175 | OPCD | FRT | /// | FRB | /// | XO |Rc |
176 | OPCD | RT | RA | RB | BC | XO | /|
179 |0 |6 |11 |16 |21 |26 |31|
180 | OPCD | RS | RA | RB | MB | ME |Rc|
181 | OPCD | RS | RA | SH | MB | ME |Rc|
184 |0 |6 |11 |16 |21 |27|30|31|
185 | OPCD | RS | RA | sh | mb |XO|sh|Rc|
186 | OPCD | RS | RA | sh | me |XO|sh|Rc|
189 |0 |6 |11 |16 |21 |27 |31|
190 | OPCD | RS | RA | RB | mb | XO |Rc|
191 | OPCD | RS | RA | RB | me | XO |Rc|
194 |0 |6 |11 |16 |21|22 |26 |31|
195 | OPCD | RT | RA | RB | RC | XO |
196 | OPCD | VRT | VRA | VRB | VRC | XO |
197 | OPCD | VRT | VRA | VRB | /|SHB| XO |
200 |0 |6 |11 |16 |21|22 |31|
201 | OPCD | VRT | VRA | VRB |Rc| XO |
204 |0 |6 |11 |16 |21 |31|
205 | OPCD | VRT | VRA | VRB | XO |
206 | OPCD | VRT | /// | VRB | XO |
207 | OPCD | VRT | UIM | VRB | XO |
208 | OPCD | VRT | / UIM | VRB | XO |
209 | OPCD | VRT | // UIM | VRB | XO |
210 | OPCD | VRT | /// UIM | VRB | XO |
211 | OPCD | VRT | SIM | ///| XO |
212 | OPCD | VRT | ///| | XO |
213 | OPCD | |/// | VRB | XO |
216 |0 |6 |9 |11 |16 |21 |31|
217 | OPCD | RS | RA | RB | XO |
218 | OPCD | RS | RA | UI | XO |
219 | OPCD | RT | ///| RB | XO |
220 | OPCD | RT | RA | RB | XO |
221 | OPCD | RT | RA | ///| XO |
222 | OPCD | RT | UI | RB | XO |
223 | OPCD | BF|//| RA | RB | XO |
224 | OPCD | RT | RA | UI | XO |
225 | OPCD | RT | SI | ///| XO |
228 |0 |6 |11 |16 |21 |29 |31 |
229 | OPCD | RT| RA | RB | XO |BFA |
232 |0 |6 |9 |11 |16 |22 |31 |
233 | OPCD | BF|//| FRA | DCM | XO | / |
234 | OPCD | BF|//| FRAp | DCM | XO | / |
235 | OPCD | BF|//| FRA | DGM | XO | / |
236 | OPCD | BF|//| FRAp | DGM | XO | / |
237 | OPCD | FRT | FRA | SH | XO |Rc |
238 | OPCD | FRTp| FRAp | SH | XO |Rc |
241 |0 |6 |11 |15 |16 |21 |23 |31 |
242 | OPCD | FRT | TE | FRB |RMC| XO |Rc |
243 | OPCD | FRTp| TE | FRBp |RMC| XO |Rc |
244 | OPCD | FRT | FRA | FRB |RMC| XO |Rc |
245 | OPCD | FRTp| FRA | FRBp |RMC| XO |Rc |
246 | OPCD | FRTp| FRAp | FRBp |RMC| XO |Rc |
247 | OPCD | FRT | /// | R | FRB |RMC| XO |Rc |
248 | OPCD | FRTp| /// | R | FRBp |RMC| XO |Rc |
250 # V3.0B 1.6.6 DX-FORM
251 |0 |6 |11 |16 |26 |31
252 | OPCD| RT| d1| d0| XO|d2
254 # 1.6.28 Instruction Fields
256 Field used by the tbegin. instruction to specify an
257 implementation-specific function.
258 Field used by the tend. instruction to specify the
259 completion of the outer transaction and all nested
264 0 The immediate field represents an address
265 relative to the current instruction address. For
266 I-form branches the effective address of the
267 branch target is the sum of the LI field
268 sign-extended to 64 bits and the address of
269 the branch instruction. For B-form branches
270 the effective address of the branch target is
271 the sum of the BD field sign-extended to 64
272 bits and the address of the branch instruction.
273 1 The immediate field represents an absolute
274 address. For I-form branches the effective
275 address of the branch target is the LI field
276 sign-extended to 64 bits. For B-form branches
277 the effective address of the branch target is
278 the BD field sign-extended to 64 bits.
281 Fields that are concatenated to specify a VSR to
285 Field used to specify a bit in the CR to be used as
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 Immediate field used to specify a 14-bit signed
298 two's complement branch displacement which is
299 concatenated on the right with 0b00 and
300 sign-extended to 64 bits.
303 Field used to specify one of the CR fields or one of
304 the FPSCR fields to be used as a target.
305 Formats: D, X, XL, XX2, XX3, Z22
307 Field used to specify one of the CR fields or one of
308 the FPSCR fields to be used as a source.
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 a hint in the Branch Condi-
316 tional to Link Register and Branch Conditional to
317 Count Register instructions. The encoding is
318 described in Section 2.4, 'Branch Instructions'.
321 Field used to identify the BHRB entry to be used
322 as a source by the Move From Branch History
323 Rolling Buffer instruction.
326 Field used to specify a bit in the CR to be tested by
327 a Branch Conditional instruction.
330 Field used to specify options for the Branch Condi-
331 tional instructions. The encoding is described in
332 Section 2.4, 'Branch Instructions'.
333 Formats: B, XL, X, XL
335 Field used to specify a bit in the CR or in the
336 FPSCR to be used as a target.
339 Fields that are concatenated to specify a VSR to
341 Formats: XX2, XX3, XX4
343 Field used in X-form instructions to specify a cache
344 target (see Section 4.3.2 of Book II).
347 Fields that are concatenated to specify a VSR to
351 Immediate field used to specify a 16-bit signed
352 two's complement integer which is sign-extended
355 d0,d1,d2 (16:25,11:15,31)
356 Immediate fields that are concatenated to specify a
357 16-bit signed two's complement integer which is
358 sign-extended to 64 bits.
360 dc,dm,dx (25,29,11:15)
361 Immediate fields that are concatenated to specify
365 Immediate field used to specify Data Class Mask.
368 Immediate field used to specify Data Class Mask.
371 Immediate field used as the Data Group Mask.
374 Immediate field used by xxpermdi instruction as
375 doubleword permute control.
378 Immediate operand field used to specify new deci-
379 mal floating-point rounding mode.
382 Field used by the dnh instruction (see Book III-E).
385 Field used by the dnh instruction (see Book III-E).
388 Immediate field used to specify a 12-bit signed
389 two's complement integer which is concatenated
390 on the right with 0b0000 and sign-extended to 64
394 Immediate field used to specify a 14-bit signed
395 two's complement integer which is concatenated
396 on the right with 0b00 and sign-extended to 64 bits.
399 Field used by the Write MSR External Enable
400 instruction (see Book III-E).
403 Field used to specify the access types ordered by
404 an Elemental Memory Barrier type of sync instruc-
407 Field used to specify a hint in the Load and
408 Reserve instructions. The meaning is described in
409 Section 4.6.2, 'Load and Reserve and Store Con-
410 ditional Instructions', in Book II.
413 Expanded opcode field
416 Expanded opcode field
419 Field used to specify Inexact form of round to
420 quad-precision integer.
423 Field used to specify the function code in Load/
424 Store Atomic instructions.
427 Field mask used to identify the FPSCR fields that
428 are to be updated by the mtfsf instruction.
431 Field used to specify a FPR to be used as a
433 Formats: A, X, Z22, Z23
435 Field used to specify an even/odd pair of FPRs to
436 be concatenated and used as a source.
439 Field used to specify an FPR to be used as a
441 Formats: A, X, XFL, Z23
443 Field used to specify an even/odd pair of FPRs to
444 be concatenated and used as a source.
447 Field used to specify an FPR to be used as a
451 Field used to specify an FPR to be used as a
455 Field used to specify an even/odd pair of FPRs to
456 be concatenated and used as a source.
459 Field used to specify an FPR to be used as a tar-
461 Formats: A, D, X, Z22, Z23
463 Field used to specify an even/odd pair of FPRs to
464 be concatenated and used as a target.
465 Formats: DS, X, Z22, Z23
467 Field mask used to identify the CR fields that are to
468 be written by the mtcrf and mtocrf instructions, or
469 read by the mfocrf instruction.
472 Immediate field used to specify a 5-bit signed inte-
476 Field used to specify a hint in the SLB Invalidate
477 All instruction. The meaning is described in
478 Section 5.9.3.2, 'SLB Management Instructions',
482 Immediate field used to specify an 8-bit integer.
485 Immediate field used to specify a 5-bit signed inte-
489 Field used to specify whether the mtfsf instruction
490 updates the entire FPSCR.
493 Field used by the Data Cache Block Flush instruc-
494 tion (see Section 4.3.2 of Book II) and also by the
495 Synchronize instruction (see Section 4.6.3 of Book
499 Field used to specify whether a fixed-point Com-
500 pare instruction is to compare 64-bit numbers or
502 Field used by the Compare Range Byte instruction
503 to indicate whether to compare against 1 or 2
507 Field used by the Move To Machine State Register
508 instruction (see Book III).
509 Field used by the SLB Move From Entry VSID and
510 SLB Move From Entry ESID instructions for imple-
511 mentation-specific purposes.
514 Field used by the Deliver A Random Number
515 instruction (see Section 3.3.9, 'Fixed-Point Arith-
516 metic Instructions') to choose the random number
520 Field used by the System Call instructions.
523 Immediate field used to specify a 24-bit signed
524 two's complement integer which is concatenated
525 on the right with 0b00 and sign-extended to 64
530 0 Do not set the Link Register.
531 1 Set the Link Register. The address of the
532 instruction following the Branch instruction is
533 placed into the Link Register.
536 Field used in M-form instructions to specify the first
537 1-bit of a 64-bit mask, as described in
538 Section 3.3.14, 'Fixed-Point Rotate and Shift
539 Instructions' on page 101.
542 Field used in MD-form and MDS-form instructions
543 to specify the first 1-bit of a 64-bit mask, as
544 described in Section 3.3.14, 'Fixed-Point Rotate
545 and Shift Instructions' on page 101.
548 Field used in MD-form and MDS-form instructions
549 to specify the last 1-bit of a 64-bit mask, as
550 described in Section 3.3.14, 'Fixed-Point Rotate
551 and Shift Instructions' on page 101.
554 Field used in M-form instructions to specify the last
555 1-bit of a 64-bit mask, as described in
556 Section 3.3.14, 'Fixed-Point Rotate and Shift
557 Instructions' on page 101.
560 Field used in X-form instructions to specify a sub-
561 set of storage accesses.
564 Field used to specify the number of bytes to move
565 in an immediate Move Assist instruction.
568 Field used by the Embedded Hypervisor Privilege
572 Primary opcode field.
575 Field used by XO-form instructions to enable set-
576 ting OV and SO in the XER.
582 Field used to specify whether to invalidate pro-
583 cess- or partition-scoped entries for tlbie[l].
586 Field used to specify preferred sign for BCD opera-
590 Immediate field used to specify a 4-bit unsigned
594 Field used by the tbegin. instruction to specify the
598 Immediate field that specifies whether the RMC is
599 specifying the primary or secondary encoding
600 Field used to specify whether to invalidate Radix
601 Tree or HPT entries for tlbie[l].
604 Field used to specify a GPR to be used as a
605 source or as a target.
606 Formats: A, D, DQ, DQE, DS, M, MD, MDS, TX, VA, VX, X, XO, XS
608 Field used to specify a GPR to be used as a
610 Formats: A, M, MDS, VA, X, XO
613 0 Do not alter the Condition Register.
614 1 Set Condition Register Field 6 as described in
615 Section 2.3.1, 'Condition Register' on
619 Field used to specify a GPR to be used as a
624 0 Do not alter the Condition Register.
625 1 Set Condition Register Field 0 or Field 1 as
626 described in Section 2.3.1, 'Condition Regis-
628 Formats: A, M, MD, MDS, X, XFL, XO, XS, Z22, Z23
630 Field used to specify what types of entries to inval-
634 Immediate operand field used to specify new
635 binary floating-point rounding mode.
638 Immediate field used for DFP rounding mode con-
642 Round to Odd override
645 Field used to specify a GPR to be used as a
647 Formats: D, DS, M, MD, MDS, X, XFX, XS
649 Field used to specify an even/odd pair of GPRs to
650 be concatenated and used as a source.
653 Field used to specify a GPR to be used as a target.
654 Formats: A, D, DQE, DS, DX, VA, VX, X, XFX, XO, XX2
656 Field used to specify an even/odd pair of GPRs to
657 be concatenated and used as a target.
660 Immediate field that specifies signed versus
664 Immediate field that specifies whether or not the
665 rfebb instruction re-enables event-based
669 Field used to specify a shift amount.
672 Field used to specify a shift amount.
675 Fields that are concatenated to specify a shift
679 Field used to specify a shift amount in bytes.
682 Field used to specify a shift amount in words.
685 Immediate field used to specify a 5-bit signed inte-
689 Immediate field used to specify a 16-bit signed
693 Immediate field used to specify a 5-bit signed inte-
697 Immediate field that specifies signed versus
701 Field used to specify a Special Purpose Register
702 for the mtspr and mfspr instructions.
705 Field used by the Segment Register Manipulation
706 instructions (see Book III).
709 Fields SX and S are concatenated to specify a
710 VSR to be used as a source.
713 Fields SX and S are concatenated to specify a
714 VSR to be used as a source.
717 Field used to specify the type of invalidation done
718 by a TLB Invalidate Local instruction (see Book
722 Field used by the Move From Time Base instruc-
723 tion (see Section 6.1 of Book II).
726 Immediate field that specifies a DFP exponent.
729 Field used by the data stream variant of the dcbt
730 and dcbtst instructions (see Section 4.3.2 of Book
734 Field used to specify the conditions on which to
735 trap. The encoding is described in
736 Section 3.3.10.1, 'Character-Type Compare
737 Instructions' on page 87.
740 Fields that are concatenated to specify a VSR to
741 be used as either a target.
744 Fields that are concatenated to specify a VSR to
745 be used as either a target or a source.
746 Formats: X, XX2, XX3, XX4
748 Immediate field used as the data to be placed into
749 a field in the FPSCR.
752 Immediate field used to specify a 5-bit unsigned
756 Immediate field used to specify a 16-bit unsigned
760 Immediate field used to specify a 5-bit unsigned
764 Immediate field used to specify a 4-bit unsigned
768 Immediate field used to specify a 3-bit unsigned
772 Immediate field used to specify a 2-bit unsigned
776 Field used to specify a VR to be used as a source.
779 Field used to specify a VR to be used as a source.
782 Field used to specify a VR to be used as a source.
785 Field used to specify a VR to be used as a source.
788 Field used to specify a VR to be used as a target.
789 Formats: DS, VA, VC, VX, X
791 Field used by the mtfsfi and mtfsf instructions to
792 specify the target word in the FPSCR.
795 Field used to specify the condition or conditions
796 that cause instruction execution to resume after
797 executing a wait instruction (see Section 4.6.4 of
801 Field used to specify a bit in the XER.
802 Formats: MDS, MDS, TX
804 Extended opcode field.
807 Extended opcode field.
810 Extended opcode field.
813 Extended opcode field.
816 Extended opcode field.
819 Extended opcode field.
820 Formats: X, XFL, XFX, XL
822 Extended opcode field.
825 Extended opcode field.
826 Formats: XO, XX3, Z22
828 Extended opcode field.
831 Extended opcode field.
834 Extended opcode field.
837 Extended opcode field.
840 Extended opcode field.
843 Extended opcode field.
846 Extended opcode field.
849 Extended opcode field.
852 Extended opcode field.
855 Extended opcode field.
858 Extended opcode field.