xref: /qemu/target/ppc/insn32.decode (revision b090f4f1)
199082815SRichard Henderson#
299082815SRichard Henderson# Power ISA decode for 32-bit insns (opcode space 0)
399082815SRichard Henderson#
499082815SRichard Henderson# Copyright (c) 2021 Instituto de Pesquisas Eldorado (eldorado.org.br)
599082815SRichard Henderson#
699082815SRichard Henderson# This library is free software; you can redistribute it and/or
799082815SRichard Henderson# modify it under the terms of the GNU Lesser General Public
899082815SRichard Henderson# License as published by the Free Software Foundation; either
999082815SRichard Henderson# version 2.1 of the License, or (at your option) any later version.
1099082815SRichard Henderson#
1199082815SRichard Henderson# This library is distributed in the hope that it will be useful,
1299082815SRichard Henderson# but WITHOUT ANY WARRANTY; without even the implied warranty of
1399082815SRichard Henderson# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1499082815SRichard Henderson# Lesser General Public License for more details.
1599082815SRichard Henderson#
1699082815SRichard Henderson# You should have received a copy of the GNU Lesser General Public
1799082815SRichard Henderson# License along with this library; if not, see <http://www.gnu.org/licenses/>.
1899082815SRichard Henderson#
195e560864SRichard Henderson
205e560864SRichard Henderson&D              rt ra si:int64_t
215e560864SRichard Henderson@D              ...... rt:5 ra:5 si:s16                 &D
225e560864SRichard Henderson
238f0a4b6aSMatheus Ferst&D_bf           bf l:bool ra imm
248f0a4b6aSMatheus Ferst@D_bfs          ...... bf:3 - l:1 ra:5 imm:s16          &D_bf
258f0a4b6aSMatheus Ferst@D_bfu          ...... bf:3 - l:1 ra:5 imm:16           &D_bf
268f0a4b6aSMatheus Ferst
27e10271e1SMatheus Ferst%dq_si          4:s12  !function=times_16
28e10271e1SMatheus Ferst%dq_rtp         22:4   !function=times_2
29e10271e1SMatheus Ferst@DQ_rtp         ...... ....0 ra:5 ............ ....             &D rt=%dq_rtp si=%dq_si
30e10271e1SMatheus Ferst
3172b70d5cSLucas Mateus Castro (alqotel)%dq_rt_tsx      3:1 21:5
3272b70d5cSLucas Mateus Castro (alqotel)@DQ_TSX         ...... ..... ra:5 ............ ....             &D si=%dq_si rt=%dq_rt_tsx
3372b70d5cSLucas Mateus Castro (alqotel)
3496fa2632SLucas Mateus Castro (alqotel)%rt_tsxp        21:1 22:4 !function=times_2
3596fa2632SLucas Mateus Castro (alqotel)@DQ_TSXP        ...... ..... ra:5 ............ ....             &D si=%dq_si rt=%rt_tsxp
3696fa2632SLucas Mateus Castro (alqotel)
37f2aabda8SRichard Henderson%ds_si          2:s14  !function=times_4
38f2aabda8SRichard Henderson@DS             ...... rt:5 ra:5 .............. ..      &D si=%ds_si
39f2aabda8SRichard Henderson
40e10271e1SMatheus Ferst%ds_rtp         22:4   !function=times_2
41e10271e1SMatheus Ferst@DS_rtp         ...... ....0 ra:5 .............. ..             &D rt=%ds_rtp si=%ds_si
42e10271e1SMatheus Ferst
439193eaa9SMatheus Ferst&DX_b           vrt b
449193eaa9SMatheus Ferst%dx_b           6:10 16:5 0:1
459193eaa9SMatheus Ferst@DX_b           ...... vrt:5  ..... .......... ..... .          &DX_b b=%dx_b
469193eaa9SMatheus Ferst
47e7a5d578SMatheus Ferst&DX             rt d
48e7a5d578SMatheus Ferst%dx_d           6:s10 16:5 0:1
49e7a5d578SMatheus Ferst@DX             ...... rt:5  ..... .......... ..... .   &DX d=%dx_d
50e7a5d578SMatheus Ferst
5128110b72SMatheus Ferst&VA             vrt vra vrb rc
5228110b72SMatheus Ferst@VA             ...... vrt:5 vra:5 vrb:5 rc:5 ......    &VA
5328110b72SMatheus Ferst
546a394290SMatheus Ferst&VC             vrt vra vrb rc:bool
556a394290SMatheus Ferst@VC             ...... vrt:5 vra:5 vrb:5 rc:1 ..........        &VC
566a394290SMatheus Ferst
572c716b4dSMatheus Ferst&VN             vrt vra vrb sh
582c716b4dSMatheus Ferst@VN             ...... vrt:5 vra:5 vrb:5 .. sh:3 ......         &VN
592c716b4dSMatheus Ferst
60a5f56954SMatheus Ferst&VX             vrt vra vrb
61a5f56954SMatheus Ferst@VX             ...... vrt:5 vra:5 vrb:5 .......... .   &VX
62a5f56954SMatheus Ferst
63b58f3931SMatheus Ferst&VX_bf          bf vra vrb
64b58f3931SMatheus Ferst@VX_bf          ...... bf:3 .. vra:5 vrb:5 ...........          &VX_bf
65b58f3931SMatheus Ferst
6695f1ee28SMatheus Ferst&VX_mp          rt mp:bool vrb
6795f1ee28SMatheus Ferst@VX_mp          ...... rt:5 .... mp:1 vrb:5 ...........         &VX_mp
6895f1ee28SMatheus Ferst
69f622ebe7SMatheus Ferst&VX_n           rt vrb n
70f622ebe7SMatheus Ferst@VX_n           ...... rt:5 .. n:3 vrb:5 ...........            &VX_n
71f622ebe7SMatheus Ferst
72fb5303ccSMatheus Ferst&VX_tb_rc       vrt vrb rc:bool
73fb5303ccSMatheus Ferst@VX_tb_rc       ...... vrt:5 ..... vrb:5 rc:1 ..........        &VX_tb_rc
74fb5303ccSMatheus Ferst
7523832ae6SMatheus Ferst&VX_uim4        vrt uim vrb
7623832ae6SMatheus Ferst@VX_uim4        ...... vrt:5 . uim:4 vrb:5 ...........  &VX_uim4
7723832ae6SMatheus Ferst
785f1470b0SMatheus Ferst&VX_tb          vrt vrb
795f1470b0SMatheus Ferst@VX_tb          ...... vrt:5 ..... vrb:5 ...........    &VX_tb
805f1470b0SMatheus Ferst
81f2aabda8SRichard Henderson&X              rt ra rb
82f2aabda8SRichard Henderson@X              ...... rt:5 ra:5 rb:5 .......... .      &X
83f2aabda8SRichard Henderson
84afdc9310SLuis Pires&X_rc           rt ra rb rc:bool
85afdc9310SLuis Pires@X_rc           ...... rt:5 ra:5 rb:5 .......... rc:1           &X_rc
86afdc9310SLuis Pires
87afdc9310SLuis Pires%x_frtp         22:4 !function=times_2
88afdc9310SLuis Pires%x_frap         17:4 !function=times_2
89afdc9310SLuis Pires%x_frbp         12:4 !function=times_2
90afdc9310SLuis Pires@X_tp_ap_bp_rc  ...... ....0 ....0 ....0 .......... rc:1        &X_rc rt=%x_frtp ra=%x_frap rb=%x_frbp
91afdc9310SLuis Pires
92afdc9310SLuis Pires@X_tp_a_bp_rc   ...... ....0 ra:5 ....0 .......... rc:1         &X_rc rt=%x_frtp rb=%x_frbp
93afdc9310SLuis Pires
94c8ef4d1eSLuis Pires&X_tb_rc        rt rb rc:bool
95c8ef4d1eSLuis Pires@X_tb_rc        ...... rt:5 ..... rb:5 .......... rc:1          &X_tb_rc
96c8ef4d1eSLuis Pires
97c8ef4d1eSLuis Pires@X_tbp_rc       ...... ....0 ..... ....0 .......... rc:1        &X_tb_rc rt=%x_frtp rb=%x_frbp
98c8ef4d1eSLuis Pires
99c8ef4d1eSLuis Pires@X_tp_b_rc      ...... ....0 ..... rb:5 .......... rc:1         &X_tb_rc rt=%x_frtp
100c8ef4d1eSLuis Pires
101c8ef4d1eSLuis Pires@X_t_bp_rc      ...... rt:5 ..... ....0 .......... rc:1         &X_tb_rc rb=%x_frbp
102c8ef4d1eSLuis Pires
1039a14365eSMatheus Ferst&X_bi           rt bi
1049a14365eSMatheus Ferst@X_bi           ...... rt:5 bi:5 ----- .......... -     &X_bi
1059a14365eSMatheus Ferst
10685c38a46SLuis Pires&X_bf           bf ra rb
10785c38a46SLuis Pires@X_bf           ...... bf:3 .. ra:5 rb:5 .......... .           &X_bf
10885c38a46SLuis Pires
10985c38a46SLuis Pires@X_bf_ap_bp     ...... bf:3 .. ....0 ....0 .......... .         &X_bf ra=%x_frap rb=%x_frbp
11085c38a46SLuis Pires
11185c38a46SLuis Pires@X_bf_a_bp      ...... bf:3 .. ra:5 ....0 .......... .          &X_bf rb=%x_frbp
11285c38a46SLuis Pires
11385c38a46SLuis Pires&X_bf_uim       bf uim rb
11485c38a46SLuis Pires@X_bf_uim       ...... bf:3 . uim:6 rb:5 .......... .           &X_bf_uim
11585c38a46SLuis Pires
11685c38a46SLuis Pires@X_bf_uim_bp    ...... bf:3 . uim:6 ....0 .......... .          &X_bf_uim rb=%x_frbp
11785c38a46SLuis Pires
1188f0a4b6aSMatheus Ferst&X_bfl          bf l:bool ra rb
1198f0a4b6aSMatheus Ferst@X_bfl          ...... bf:3 - l:1 ra:5 rb:5 ..........- &X_bfl
1208f0a4b6aSMatheus Ferst
1216166fcedSBruno Larsen (billionai)%x_xt           0:1 21:5
122*b090f4f1SMatheus Ferst&X_imm5         xt imm:uint8_t vrb
123*b090f4f1SMatheus Ferst@X_imm5         ...... ..... imm:5 vrb:5 .......... .           &X_imm5 xt=%x_xt
124*b090f4f1SMatheus Ferst
1256166fcedSBruno Larsen (billionai)&X_imm8         xt imm:uint8_t
1266166fcedSBruno Larsen (billionai)@X_imm8         ...... ..... .. imm:8 .......... .              &X_imm8 xt=%x_xt
1276166fcedSBruno Larsen (billionai)
1286e26b85dSMatheus Ferst&X_uim5         xt uim:uint8_t
1296e26b85dSMatheus Ferst@X_uim5         ...... ..... ..... uim:5 .......... .           &X_uim5 xt=%x_xt
1306e26b85dSMatheus Ferst
131a2329747SLuis Pires&X_tb_sp_rc     rt rb sp rc:bool
132a2329747SLuis Pires@X_tb_sp_rc     ...... rt:5 sp:2 ... rb:5 .......... rc:1       &X_tb_sp_rc
133a2329747SLuis Pires
134a2329747SLuis Pires@X_tbp_sp_rc    ...... ....0 sp:2 ... ....0 .......... rc:1     &X_tb_sp_rc rt=%x_frtp rb=%x_frbp
135a2329747SLuis Pires
136a2329747SLuis Pires&X_tb_s_rc      rt rb s:bool rc:bool
137a2329747SLuis Pires@X_tb_s_rc      ...... rt:5 s:1 .... rb:5 .......... rc:1       &X_tb_s_rc
138a2329747SLuis Pires
139a2329747SLuis Pires@X_tbp_s_rc     ...... ....0 s:1 .... ....0 .......... rc:1     &X_tb_s_rc rt=%x_frtp rb=%x_frbp
140a2329747SLuis Pires
14170426b5bSLucas Mateus Castro (alqotel)%x_rt_tsx       0:1 21:5
14270426b5bSLucas Mateus Castro (alqotel)@X_TSX          ...... ..... ra:5 rb:5 .......... .             &X rt=%x_rt_tsx
143226ce506SLucas Mateus Castro (alqotel)@X_TSXP         ...... ..... ra:5 rb:5 .......... .             &X rt=%rt_tsxp
14470426b5bSLucas Mateus Castro (alqotel)
145d39b2cc7SLuis Pires&X_frtp_vrb     frtp vrb
146d39b2cc7SLuis Pires@X_frtp_vrb     ...... ....0 ..... vrb:5 .......... .           &X_frtp_vrb frtp=%x_frtp
147d39b2cc7SLuis Pires
148328747f3SLuis Pires&X_vrt_frbp     vrt frbp
149328747f3SLuis Pires@X_vrt_frbp     ...... vrt:5 ..... ....0 .......... .           &X_vrt_frbp frbp=%x_frbp
150328747f3SLuis Pires
151c5df1898SVictor Colombo%xx_xt          0:1 21:5
152c5df1898SVictor Colombo%xx_xb          1:1 11:5
153c5df1898SVictor Colombo%xx_xa          2:1 16:5
15443d55fc2SMatheus Ferst%xx_xc          3:1 6:5
15530dfca8dSBruno Larsen (billionai)&XX2            xt xb uim:uint8_t
156c5df1898SVictor Colombo@XX2            ...... ..... ... uim:2 ..... ......... ..       &XX2 xt=%xx_xt xb=%xx_xb
157c5df1898SVictor Colombo
158c5df1898SVictor Colombo&XX3            xt xa xb
159c5df1898SVictor Colombo@XX3            ...... ..... ..... ..... ........ ...           &XX3 xt=%xx_xt xa=%xx_xa xb=%xx_xb
16030dfca8dSBruno Larsen (billionai)
161d31b2c19SMatheus Ferst&XX3_dm         xt xa xb dm
162d31b2c19SMatheus Ferst@XX3_dm         ...... ..... ..... ..... . dm:2 ..... ...       &XX3_dm xt=%xx_xt xa=%xx_xa xb=%xx_xb
163d31b2c19SMatheus Ferst
16443d55fc2SMatheus Ferst&XX4            xt xa xb xc
16543d55fc2SMatheus Ferst@XX4            ...... ..... ..... ..... ..... .. ....          &XX4 xt=%xx_xt xa=%xx_xa xb=%xx_xb xc=%xx_xc
16643d55fc2SMatheus Ferst
16787bc8e52SLuis Pires&Z22_bf_fra     bf fra dm
16887bc8e52SLuis Pires@Z22_bf_fra     ...... bf:3 .. fra:5 dm:6 ......... .           &Z22_bf_fra
16987bc8e52SLuis Pires
17087bc8e52SLuis Pires%z22_frap       17:4 !function=times_2
17187bc8e52SLuis Pires@Z22_bf_frap    ...... bf:3 .. ....0 dm:6 ......... .           &Z22_bf_fra fra=%z22_frap
17287bc8e52SLuis Pires
173a2329747SLuis Pires&Z22_ta_sh_rc   rt ra sh rc:bool
174a2329747SLuis Pires@Z22_ta_sh_rc   ...... rt:5 ra:5 sh:6 ......... rc:1            &Z22_ta_sh_rc
175a2329747SLuis Pires
176a2329747SLuis Pires%z22_frtp       22:4 !function=times_2
177a2329747SLuis Pires@Z22_tap_sh_rc  ...... ....0 ....0 sh:6 ......... rc:1          &Z22_ta_sh_rc rt=%z22_frtp ra=%z22_frap
178a2329747SLuis Pires
179a8f4bce6SLuis Pires&Z23_tab        frt fra frb rmc rc:bool
180a8f4bce6SLuis Pires@Z23_tab        ...... frt:5 fra:5 frb:5 rmc:2 ........ rc:1    &Z23_tab
181a8f4bce6SLuis Pires
182a8f4bce6SLuis Pires%z23_frtp       22:4 !function=times_2
183a8f4bce6SLuis Pires%z23_frap       17:4 !function=times_2
184a8f4bce6SLuis Pires%z23_frbp       12:4 !function=times_2
185a8f4bce6SLuis Pires@Z23_tabp       ...... ....0 ....0 ....0 rmc:2 ........ rc:1    &Z23_tab frt=%z23_frtp fra=%z23_frap frb=%z23_frbp
186a8f4bce6SLuis Pires
187a8f4bce6SLuis Pires@Z23_tp_a_bp    ...... ....0 fra:5 ....0 rmc:2 ........ rc:1    &Z23_tab frt=%z23_frtp frb=%z23_frbp
188a8f4bce6SLuis Pires
18978464edbSLuis Pires&Z23_tb         frt frb r:bool rmc rc:bool
19078464edbSLuis Pires@Z23_tb         ...... frt:5 .... r:1 frb:5 rmc:2 ........ rc:1 &Z23_tb
19178464edbSLuis Pires
19278464edbSLuis Pires@Z23_tbp        ...... ....0 .... r:1 ....0 rmc:2 ........ rc:1 &Z23_tb frt=%z23_frtp frb=%z23_frbp
19378464edbSLuis Pires
19478464edbSLuis Pires&Z23_te_tb      te frt frb rmc rc:bool
19578464edbSLuis Pires@Z23_te_tb      ...... frt:5 te:5 frb:5 rmc:2 ........ rc:1     &Z23_te_tb
19678464edbSLuis Pires
19778464edbSLuis Pires@Z23_te_tbp     ...... ....0 te:5 ....0 rmc:2 ........ rc:1     &Z23_te_tb frt=%z23_frtp frb=%z23_frbp
19878464edbSLuis Pires
199f2aabda8SRichard Henderson### Fixed-Point Load Instructions
200f2aabda8SRichard Henderson
201f2aabda8SRichard HendersonLBZ             100010 ..... ..... ................     @D
202f2aabda8SRichard HendersonLBZU            100011 ..... ..... ................     @D
203f2aabda8SRichard HendersonLBZX            011111 ..... ..... ..... 0001010111 -   @X
204f2aabda8SRichard HendersonLBZUX           011111 ..... ..... ..... 0001110111 -   @X
205f2aabda8SRichard Henderson
206f2aabda8SRichard HendersonLHZ             101000 ..... ..... ................     @D
207f2aabda8SRichard HendersonLHZU            101001 ..... ..... ................     @D
208f2aabda8SRichard HendersonLHZX            011111 ..... ..... ..... 0100010111 -   @X
209f2aabda8SRichard HendersonLHZUX           011111 ..... ..... ..... 0100110111 -   @X
210f2aabda8SRichard Henderson
211f2aabda8SRichard HendersonLHA             101010 ..... ..... ................     @D
212f2aabda8SRichard HendersonLHAU            101011 ..... ..... ................     @D
213f2aabda8SRichard HendersonLHAX            011111 ..... ..... ..... 0101010111 -   @X
214f2aabda8SRichard HendersonLHAXU           011111 ..... ..... ..... 0101110111 -   @X
215f2aabda8SRichard Henderson
216f2aabda8SRichard HendersonLWZ             100000 ..... ..... ................     @D
217f2aabda8SRichard HendersonLWZU            100001 ..... ..... ................     @D
218f2aabda8SRichard HendersonLWZX            011111 ..... ..... ..... 0000010111 -   @X
219f2aabda8SRichard HendersonLWZUX           011111 ..... ..... ..... 0000110111 -   @X
220f2aabda8SRichard Henderson
221f2aabda8SRichard HendersonLWA             111010 ..... ..... ..............10     @DS
222f2aabda8SRichard HendersonLWAX            011111 ..... ..... ..... 0101010101 -   @X
223f2aabda8SRichard HendersonLWAUX           011111 ..... ..... ..... 0101110101 -   @X
224f2aabda8SRichard Henderson
225f2aabda8SRichard HendersonLD              111010 ..... ..... ..............00     @DS
226f2aabda8SRichard HendersonLDU             111010 ..... ..... ..............01     @DS
227f2aabda8SRichard HendersonLDX             011111 ..... ..... ..... 0000010101 -   @X
228f2aabda8SRichard HendersonLDUX            011111 ..... ..... ..... 0000110101 -   @X
229f2aabda8SRichard Henderson
230e10271e1SMatheus FerstLQ              111000 ..... ..... ............ ----    @DQ_rtp
231e10271e1SMatheus Ferst
232e8f4c8d6SRichard Henderson### Fixed-Point Store Instructions
233e8f4c8d6SRichard Henderson
234e8f4c8d6SRichard HendersonSTB             100110 ..... ..... ................     @D
235e8f4c8d6SRichard HendersonSTBU            100111 ..... ..... ................     @D
236e8f4c8d6SRichard HendersonSTBX            011111 ..... ..... ..... 0011010111 -   @X
237e8f4c8d6SRichard HendersonSTBUX           011111 ..... ..... ..... 0011110111 -   @X
238e8f4c8d6SRichard Henderson
239e8f4c8d6SRichard HendersonSTH             101100 ..... ..... ................     @D
240e8f4c8d6SRichard HendersonSTHU            101101 ..... ..... ................     @D
241e8f4c8d6SRichard HendersonSTHX            011111 ..... ..... ..... 0110010111 -   @X
242e8f4c8d6SRichard HendersonSTHUX           011111 ..... ..... ..... 0110110111 -   @X
243e8f4c8d6SRichard Henderson
244e8f4c8d6SRichard HendersonSTW             100100 ..... ..... ................     @D
245e8f4c8d6SRichard HendersonSTWU            100101 ..... ..... ................     @D
246e8f4c8d6SRichard HendersonSTWX            011111 ..... ..... ..... 0010010111 -   @X
247e8f4c8d6SRichard HendersonSTWUX           011111 ..... ..... ..... 0010110111 -   @X
248e8f4c8d6SRichard Henderson
249e8f4c8d6SRichard HendersonSTD             111110 ..... ..... ..............00     @DS
250e8f4c8d6SRichard HendersonSTDU            111110 ..... ..... ..............01     @DS
251e8f4c8d6SRichard HendersonSTDX            011111 ..... ..... ..... 0010010101 -   @X
252e8f4c8d6SRichard HendersonSTDUX           011111 ..... ..... ..... 0010110101 -   @X
253e8f4c8d6SRichard Henderson
254e10271e1SMatheus FerstSTQ             111110 ..... ..... ..............10     @DS_rtp
255e10271e1SMatheus Ferst
2568f0a4b6aSMatheus Ferst### Fixed-Point Compare Instructions
2578f0a4b6aSMatheus Ferst
2588f0a4b6aSMatheus FerstCMP             011111 ... - . ..... ..... 0000000000 - @X_bfl
2598f0a4b6aSMatheus FerstCMPL            011111 ... - . ..... ..... 0000100000 - @X_bfl
2608f0a4b6aSMatheus FerstCMPI            001011 ... - . ..... ................   @D_bfs
2618f0a4b6aSMatheus FerstCMPLI           001010 ... - . ..... ................   @D_bfu
2628f0a4b6aSMatheus Ferst
2635e560864SRichard Henderson### Fixed-Point Arithmetic Instructions
2645e560864SRichard Henderson
2655e560864SRichard HendersonADDI            001110 ..... ..... ................     @D
2665e560864SRichard HendersonADDIS           001111 ..... ..... ................     @D
2679a14365eSMatheus Ferst
268e7a5d578SMatheus FerstADDPCIS         010011 ..... ..... .......... 00010 .   @DX
269e7a5d578SMatheus Ferst
27089ccd7dcSMatheus Ferst## Fixed-Point Logical Instructions
27189ccd7dcSMatheus Ferst
27289ccd7dcSMatheus FerstCFUGED          011111 ..... ..... ..... 0011011100 -   @X
27382be6e02SLuis PiresCNTLZDM         011111 ..... ..... ..... 0000111011 -   @X
274f356b3baSLuis PiresCNTTZDM         011111 ..... ..... ..... 1000111011 -   @X
27521ba6e58SMatheus FerstPDEPD           011111 ..... ..... ..... 0010011100 -   @X
2768bdb7606SMatheus FerstPEXTD           011111 ..... ..... ..... 0010111100 -   @X
27789ccd7dcSMatheus Ferst
278fbd2e60eSFernando Eckhardt Valle### Float-Point Load Instructions
279fbd2e60eSFernando Eckhardt Valle
280fbd2e60eSFernando Eckhardt ValleLFS             110000 ..... ..... ................     @D
281fbd2e60eSFernando Eckhardt ValleLFSU            110001 ..... ..... ................     @D
282fbd2e60eSFernando Eckhardt ValleLFSX            011111 ..... ..... ..... 1000010111 -   @X
283fbd2e60eSFernando Eckhardt ValleLFSUX           011111 ..... ..... ..... 1000110111 -   @X
284fbd2e60eSFernando Eckhardt Valle
285fbd2e60eSFernando Eckhardt ValleLFD             110010 ..... ..... ................     @D
286fbd2e60eSFernando Eckhardt ValleLFDU            110011 ..... ..... ................     @D
287fbd2e60eSFernando Eckhardt ValleLFDX            011111 ..... ..... ..... 1001010111 -   @X
288fbd2e60eSFernando Eckhardt ValleLFDUX           011111 ..... ..... ..... 1001110111 -   @X
289fbd2e60eSFernando Eckhardt Valle
290fbd2e60eSFernando Eckhardt Valle### Float-Point Store Instructions
291fbd2e60eSFernando Eckhardt Valle
292fbd2e60eSFernando Eckhardt ValleSTFS            110100 ..... ...... ...............     @D
293fbd2e60eSFernando Eckhardt ValleSTFSU           110101 ..... ...... ...............     @D
294fbd2e60eSFernando Eckhardt ValleSTFSX           011111 ..... ...... .... 1010010111 -   @X
295fbd2e60eSFernando Eckhardt ValleSTFSUX          011111 ..... ...... .... 1010110111 -   @X
296fbd2e60eSFernando Eckhardt Valle
297fbd2e60eSFernando Eckhardt ValleSTFD            110110 ..... ...... ...............     @D
298fbd2e60eSFernando Eckhardt ValleSTFDU           110111 ..... ...... ...............     @D
299fbd2e60eSFernando Eckhardt ValleSTFDX           011111 ..... ...... .... 1011010111 -   @X
300fbd2e60eSFernando Eckhardt ValleSTFDUX          011111 ..... ...... .... 1011110111 -   @X
301fbd2e60eSFernando Eckhardt Valle
3029a14365eSMatheus Ferst### Move To/From System Register Instructions
3039a14365eSMatheus Ferst
3049a14365eSMatheus FerstSETBC           011111 ..... ..... ----- 0110000000 -   @X_bi
3059a14365eSMatheus FerstSETBCR          011111 ..... ..... ----- 0110100000 -   @X_bi
3069a14365eSMatheus FerstSETNBC          011111 ..... ..... ----- 0111000000 -   @X_bi
3079a14365eSMatheus FerstSETNBCR         011111 ..... ..... ----- 0111100000 -   @X_bi
308a5f56954SMatheus Ferst
309afdc9310SLuis Pires### Decimal Floating-Point Arithmetic Instructions
310afdc9310SLuis Pires
311afdc9310SLuis PiresDADD            111011 ..... ..... ..... 0000000010 .   @X_rc
312afdc9310SLuis PiresDADDQ           111111 ..... ..... ..... 0000000010 .   @X_tp_ap_bp_rc
313afdc9310SLuis Pires
314afdc9310SLuis PiresDSUB            111011 ..... ..... ..... 1000000010 .   @X_rc
315afdc9310SLuis PiresDSUBQ           111111 ..... ..... ..... 1000000010 .   @X_tp_ap_bp_rc
316afdc9310SLuis Pires
317afdc9310SLuis PiresDMUL            111011 ..... ..... ..... 0000100010 .   @X_rc
318afdc9310SLuis PiresDMULQ           111111 ..... ..... ..... 0000100010 .   @X_tp_ap_bp_rc
319afdc9310SLuis Pires
320afdc9310SLuis PiresDDIV            111011 ..... ..... ..... 1000100010 .   @X_rc
321afdc9310SLuis PiresDDIVQ           111111 ..... ..... ..... 1000100010 .   @X_tp_ap_bp_rc
322afdc9310SLuis Pires
32385c38a46SLuis Pires### Decimal Floating-Point Compare Instructions
32485c38a46SLuis Pires
32585c38a46SLuis PiresDCMPU           111011 ... -- ..... ..... 1010000010 -  @X_bf
32685c38a46SLuis PiresDCMPUQ          111111 ... -- ..... ..... 1010000010 -  @X_bf_ap_bp
32785c38a46SLuis Pires
32885c38a46SLuis PiresDCMPO           111011 ... -- ..... ..... 0010000010 -  @X_bf
32985c38a46SLuis PiresDCMPOQ          111111 ... -- ..... ..... 0010000010 -  @X_bf_ap_bp
33085c38a46SLuis Pires
33187bc8e52SLuis Pires### Decimal Floating-Point Test Instructions
33287bc8e52SLuis Pires
33387bc8e52SLuis PiresDTSTDC          111011 ... -- ..... ...... 011000010 -  @Z22_bf_fra
33487bc8e52SLuis PiresDTSTDCQ         111111 ... -- ..... ...... 011000010 -  @Z22_bf_frap
33587bc8e52SLuis Pires
33687bc8e52SLuis PiresDTSTDG          111011 ... -- ..... ...... 011100010 -  @Z22_bf_fra
33787bc8e52SLuis PiresDTSTDGQ         111111 ... -- ..... ...... 011100010 -  @Z22_bf_frap
33887bc8e52SLuis Pires
33985c38a46SLuis PiresDTSTEX          111011 ... -- ..... ..... 0010100010 -  @X_bf
34085c38a46SLuis PiresDTSTEXQ         111111 ... -- ..... ..... 0010100010 -  @X_bf_ap_bp
34185c38a46SLuis Pires
34285c38a46SLuis PiresDTSTSF          111011 ... -- ..... ..... 1010100010 -  @X_bf
34385c38a46SLuis PiresDTSTSFQ         111111 ... -- ..... ..... 1010100010 -  @X_bf_a_bp
34485c38a46SLuis Pires
34585c38a46SLuis PiresDTSTSFI         111011 ... - ...... ..... 1010100011 -  @X_bf_uim
34685c38a46SLuis PiresDTSTSFIQ        111111 ... - ...... ..... 1010100011 -  @X_bf_uim_bp
34785c38a46SLuis Pires
34878464edbSLuis Pires### Decimal Floating-Point Quantum Adjustment Instructions
34978464edbSLuis Pires
35078464edbSLuis PiresDQUAI           111011 ..... ..... ..... .. 01000011 .  @Z23_te_tb
35178464edbSLuis PiresDQUAIQ          111111 ..... ..... ..... .. 01000011 .  @Z23_te_tbp
35278464edbSLuis Pires
353a8f4bce6SLuis PiresDQUA            111011 ..... ..... ..... .. 00000011 .  @Z23_tab
354a8f4bce6SLuis PiresDQUAQ           111111 ..... ..... ..... .. 00000011 .  @Z23_tabp
355a8f4bce6SLuis Pires
356a8f4bce6SLuis PiresDRRND           111011 ..... ..... ..... .. 00100011 .  @Z23_tab
357a8f4bce6SLuis PiresDRRNDQ          111111 ..... ..... ..... .. 00100011 .  @Z23_tp_a_bp
358a8f4bce6SLuis Pires
35978464edbSLuis PiresDRINTX          111011 ..... ---- . ..... .. 01100011 . @Z23_tb
36078464edbSLuis PiresDRINTXQ         111111 ..... ---- . ..... .. 01100011 . @Z23_tbp
36178464edbSLuis Pires
36278464edbSLuis PiresDRINTN          111011 ..... ---- . ..... .. 11100011 . @Z23_tb
36378464edbSLuis PiresDRINTNQ         111111 ..... ---- . ..... .. 11100011 . @Z23_tbp
36478464edbSLuis Pires
365d39b2cc7SLuis Pires### Decimal Floating-Point Conversion Instructions
366d39b2cc7SLuis Pires
367c8ef4d1eSLuis PiresDCTDP           111011 ..... ----- ..... 0100000010 .   @X_tb_rc
368c8ef4d1eSLuis PiresDCTQPQ          111111 ..... ----- ..... 0100000010 .   @X_tp_b_rc
369c8ef4d1eSLuis Pires
370c8ef4d1eSLuis PiresDRSP            111011 ..... ----- ..... 1100000010 .   @X_tb_rc
371c8ef4d1eSLuis PiresDRDPQ           111111 ..... ----- ..... 1100000010 .   @X_tbp_rc
372c8ef4d1eSLuis Pires
373c8ef4d1eSLuis PiresDCFFIX          111011 ..... ----- ..... 1100100010 .   @X_tb_rc
374c8ef4d1eSLuis PiresDCFFIXQ         111111 ..... ----- ..... 1100100010 .   @X_tp_b_rc
375d39b2cc7SLuis PiresDCFFIXQQ        111111 ..... 00000 ..... 1111100010 -   @X_frtp_vrb
376c8ef4d1eSLuis Pires
377c8ef4d1eSLuis PiresDCTFIX          111011 ..... ----- ..... 0100100010 .   @X_tb_rc
378c8ef4d1eSLuis PiresDCTFIXQ         111111 ..... ----- ..... 0100100010 .   @X_t_bp_rc
379328747f3SLuis PiresDCTFIXQQ        111111 ..... 00001 ..... 1111100010 -   @X_vrt_frbp
380d39b2cc7SLuis Pires
381afdc9310SLuis Pires### Decimal Floating-Point Format Instructions
382afdc9310SLuis Pires
383a2329747SLuis PiresDDEDPD          111011 ..... .. --- ..... 0101000010 .  @X_tb_sp_rc
384a2329747SLuis PiresDDEDPDQ         111111 ..... .. --- ..... 0101000010 .  @X_tbp_sp_rc
385a2329747SLuis Pires
386a2329747SLuis PiresDENBCD          111011 ..... . ---- ..... 1101000010 .  @X_tb_s_rc
387a2329747SLuis PiresDENBCDQ         111111 ..... . ---- ..... 1101000010 .  @X_tbp_s_rc
388a2329747SLuis Pires
389c8ef4d1eSLuis PiresDXEX            111011 ..... ----- ..... 0101100010 .   @X_tb_rc
390c8ef4d1eSLuis PiresDXEXQ           111111 ..... ----- ..... 0101100010 .   @X_t_bp_rc
391c8ef4d1eSLuis Pires
392afdc9310SLuis PiresDIEX            111011 ..... ..... ..... 1101100010 .   @X_rc
393afdc9310SLuis PiresDIEXQ           111111 ..... ..... ..... 1101100010 .   @X_tp_a_bp_rc
394afdc9310SLuis Pires
395a2329747SLuis PiresDSCLI           111011 ..... ..... ...... 001000010 .   @Z22_ta_sh_rc
396a2329747SLuis PiresDSCLIQ          111111 ..... ..... ...... 001000010 .   @Z22_tap_sh_rc
397a2329747SLuis Pires
398a2329747SLuis PiresDSCRI           111011 ..... ..... ...... 001100010 .   @Z22_ta_sh_rc
399a2329747SLuis PiresDSCRIQ          111111 ..... ..... ...... 001100010 .   @Z22_tap_sh_rc
400a2329747SLuis Pires
4016a394290SMatheus Ferst## Vector Integer Instructions
4026a394290SMatheus Ferst
4036a394290SMatheus FerstVCMPEQUB        000100 ..... ..... ..... . 0000000110   @VC
4046a394290SMatheus FerstVCMPEQUH        000100 ..... ..... ..... . 0001000110   @VC
4056a394290SMatheus FerstVCMPEQUW        000100 ..... ..... ..... . 0010000110   @VC
4066a394290SMatheus FerstVCMPEQUD        000100 ..... ..... ..... . 0011000111   @VC
4077b3da08eSMatheus FerstVCMPEQUQ        000100 ..... ..... ..... . 0111000111   @VC
4086a394290SMatheus Ferst
4096a394290SMatheus FerstVCMPGTSB        000100 ..... ..... ..... . 1100000110   @VC
4106a394290SMatheus FerstVCMPGTSH        000100 ..... ..... ..... . 1101000110   @VC
4116a394290SMatheus FerstVCMPGTSW        000100 ..... ..... ..... . 1110000110   @VC
4126a394290SMatheus FerstVCMPGTSD        000100 ..... ..... ..... . 1111000111   @VC
41350449ae4SMatheus FerstVCMPGTSQ        000100 ..... ..... ..... . 1110000111   @VC
4146a394290SMatheus Ferst
4156a394290SMatheus FerstVCMPGTUB        000100 ..... ..... ..... . 1000000110   @VC
4166a394290SMatheus FerstVCMPGTUH        000100 ..... ..... ..... . 1001000110   @VC
4176a394290SMatheus FerstVCMPGTUW        000100 ..... ..... ..... . 1010000110   @VC
4186a394290SMatheus FerstVCMPGTUD        000100 ..... ..... ..... . 1011000111   @VC
41950449ae4SMatheus FerstVCMPGTUQ        000100 ..... ..... ..... . 1010000111   @VC
4206a394290SMatheus Ferst
4216a394290SMatheus FerstVCMPNEB         000100 ..... ..... ..... . 0000000111   @VC
4226a394290SMatheus FerstVCMPNEH         000100 ..... ..... ..... . 0001000111   @VC
4236a394290SMatheus FerstVCMPNEW         000100 ..... ..... ..... . 0010000111   @VC
4246a394290SMatheus Ferst
425eb936dc0SMatheus FerstVCMPNEZB        000100 ..... ..... ..... . 0100000111   @VC
426eb936dc0SMatheus FerstVCMPNEZH        000100 ..... ..... ..... . 0101000111   @VC
427eb936dc0SMatheus FerstVCMPNEZW        000100 ..... ..... ..... . 0110000111   @VC
428eb936dc0SMatheus Ferst
429b58f3931SMatheus FerstVCMPSQ          000100 ... -- ..... ..... 00101000001   @VX_bf
430b58f3931SMatheus FerstVCMPUQ          000100 ... -- ..... ..... 00100000001   @VX_bf
431b58f3931SMatheus Ferst
432a5f56954SMatheus Ferst## Vector Bit Manipulation Instruction
433a5f56954SMatheus Ferst
434f622ebe7SMatheus FerstVGNB            000100 ..... -- ... ..... 10011001100   @VX_n
435f622ebe7SMatheus Ferst
436a5f56954SMatheus FerstVCFUGED         000100 ..... ..... ..... 10101001101    @VX
437a2c975e1SMatheus FerstVCLZDM          000100 ..... ..... ..... 11110000100    @VX
438a2c975e1SMatheus FerstVCTZDM          000100 ..... ..... ..... 11111000100    @VX
43900a16569SMatheus FerstVPDEPD          000100 ..... ..... ..... 10111001101    @VX
44000a16569SMatheus FerstVPEXTD          000100 ..... ..... ..... 10110001101    @VX
4412c716b4dSMatheus Ferst
4422c716b4dSMatheus Ferst## Vector Permute and Formatting Instruction
4432c716b4dSMatheus Ferst
44428110b72SMatheus FerstVEXTDUBVLX      000100 ..... ..... ..... ..... 011000   @VA
44528110b72SMatheus FerstVEXTDUBVRX      000100 ..... ..... ..... ..... 011001   @VA
44628110b72SMatheus FerstVEXTDUHVLX      000100 ..... ..... ..... ..... 011010   @VA
44728110b72SMatheus FerstVEXTDUHVRX      000100 ..... ..... ..... ..... 011011   @VA
44828110b72SMatheus FerstVEXTDUWVLX      000100 ..... ..... ..... ..... 011100   @VA
44928110b72SMatheus FerstVEXTDUWVRX      000100 ..... ..... ..... ..... 011101   @VA
45028110b72SMatheus FerstVEXTDDVLX       000100 ..... ..... ..... ..... 011110   @VA
45128110b72SMatheus FerstVEXTDDVRX       000100 ..... ..... ..... ..... 011111   @VA
45228110b72SMatheus Ferst
453b422c2cbSMatheus FerstVINSERTB        000100 ..... - .... ..... 01100001101   @VX_uim4
454b422c2cbSMatheus FerstVINSERTH        000100 ..... - .... ..... 01101001101   @VX_uim4
455b422c2cbSMatheus FerstVINSERTW        000100 ..... - .... ..... 01110001101   @VX_uim4
456b422c2cbSMatheus FerstVINSERTD        000100 ..... - .... ..... 01111001101   @VX_uim4
457b422c2cbSMatheus Ferst
4582cc12af3SMatheus FerstVINSBLX         000100 ..... ..... ..... 01000001111    @VX
4592cc12af3SMatheus FerstVINSBRX         000100 ..... ..... ..... 01100001111    @VX
4602cc12af3SMatheus FerstVINSHLX         000100 ..... ..... ..... 01001001111    @VX
4612cc12af3SMatheus FerstVINSHRX         000100 ..... ..... ..... 01101001111    @VX
4622cc12af3SMatheus FerstVINSWLX         000100 ..... ..... ..... 01010001111    @VX
4632cc12af3SMatheus FerstVINSWRX         000100 ..... ..... ..... 01110001111    @VX
4642cc12af3SMatheus FerstVINSDLX         000100 ..... ..... ..... 01011001111    @VX
4652cc12af3SMatheus FerstVINSDRX         000100 ..... ..... ..... 01111001111    @VX
4662cc12af3SMatheus Ferst
46723832ae6SMatheus FerstVINSW           000100 ..... - .... ..... 00011001111   @VX_uim4
46823832ae6SMatheus FerstVINSD           000100 ..... - .... ..... 00111001111   @VX_uim4
46923832ae6SMatheus Ferst
4702c9f7958SMatheus FerstVINSBVLX        000100 ..... ..... ..... 00000001111    @VX
4712c9f7958SMatheus FerstVINSBVRX        000100 ..... ..... ..... 00100001111    @VX
4722c9f7958SMatheus FerstVINSHVLX        000100 ..... ..... ..... 00001001111    @VX
4732c9f7958SMatheus FerstVINSHVRX        000100 ..... ..... ..... 00101001111    @VX
4742c9f7958SMatheus FerstVINSWVLX        000100 ..... ..... ..... 00010001111    @VX
4752c9f7958SMatheus FerstVINSWVRX        000100 ..... ..... ..... 00110001111    @VX
4762c9f7958SMatheus Ferst
4772c716b4dSMatheus FerstVSLDBI          000100 ..... ..... ..... 00 ... 010110  @VN
4782c716b4dSMatheus FerstVSRDBI          000100 ..... ..... ..... 01 ... 010110  @VN
47972b70d5cSLucas Mateus Castro (alqotel)
48028347fe2SMatheus FerstVPERM           000100 ..... ..... ..... ..... 101011   @VA
48128347fe2SMatheus FerstVPERMR          000100 ..... ..... ..... ..... 111011   @VA
48228347fe2SMatheus Ferst
48328347fe2SMatheus FerstVSEL            000100 ..... ..... ..... ..... 101010   @VA
48428347fe2SMatheus Ferst
4850f052007SMatheus Ferst## Vector Integer Shift Instruction
4860f052007SMatheus Ferst
4870f052007SMatheus FerstVSLB            000100 ..... ..... ..... 00100000100    @VX
4880f052007SMatheus FerstVSLH            000100 ..... ..... ..... 00101000100    @VX
4890f052007SMatheus FerstVSLW            000100 ..... ..... ..... 00110000100    @VX
4900f052007SMatheus FerstVSLD            000100 ..... ..... ..... 10111000100    @VX
4913e39edb6SMatheus FerstVSLQ            000100 ..... ..... ..... 00100000101    @VX
4920f052007SMatheus Ferst
4930f052007SMatheus FerstVSRB            000100 ..... ..... ..... 01000000100    @VX
4940f052007SMatheus FerstVSRH            000100 ..... ..... ..... 01001000100    @VX
4950f052007SMatheus FerstVSRW            000100 ..... ..... ..... 01010000100    @VX
4960f052007SMatheus FerstVSRD            000100 ..... ..... ..... 11011000100    @VX
497946c3491SMatheus FerstVSRQ            000100 ..... ..... ..... 01000000101    @VX
4980f052007SMatheus Ferst
4990f052007SMatheus FerstVSRAB           000100 ..... ..... ..... 01100000100    @VX
5000f052007SMatheus FerstVSRAH           000100 ..... ..... ..... 01101000100    @VX
5010f052007SMatheus FerstVSRAW           000100 ..... ..... ..... 01110000100    @VX
5020f052007SMatheus FerstVSRAD           000100 ..... ..... ..... 01111000100    @VX
50385085bbcSMatheus FerstVSRAQ           000100 ..... ..... ..... 01100000101    @VX
5040f052007SMatheus Ferst
505df489ad6SMatheus FerstVRLB            000100 ..... ..... ..... 00000000100    @VX
506df489ad6SMatheus FerstVRLH            000100 ..... ..... ..... 00001000100    @VX
507df489ad6SMatheus FerstVRLW            000100 ..... ..... ..... 00010000100    @VX
508df489ad6SMatheus FerstVRLD            000100 ..... ..... ..... 00011000100    @VX
509aa0f34ecSMatheus FerstVRLQ            000100 ..... ..... ..... 00000000101    @VX
510df489ad6SMatheus Ferst
51102c74f0eSMatheus FerstVRLWMI          000100 ..... ..... ..... 00010000101    @VX
51202c74f0eSMatheus FerstVRLDMI          000100 ..... ..... ..... 00011000101    @VX
5137e5947dfSMatheus FerstVRLQMI          000100 ..... ..... ..... 00001000101    @VX
51402c74f0eSMatheus Ferst
51502c74f0eSMatheus FerstVRLWNM          000100 ..... ..... ..... 00110000101    @VX
51602c74f0eSMatheus FerstVRLDNM          000100 ..... ..... ..... 00111000101    @VX
5174e272668SMatheus FerstVRLQNM          000100 ..... ..... ..... 00101000101    @VX
51802c74f0eSMatheus Ferst
5199bfe9213SLucas Coutinho## Vector Integer Arithmetic Instructions
5209bfe9213SLucas Coutinho
5219bfe9213SLucas CoutinhoVEXTSB2W        000100 ..... 10000 ..... 11000000010    @VX_tb
5229bfe9213SLucas CoutinhoVEXTSH2W        000100 ..... 10001 ..... 11000000010    @VX_tb
5239bfe9213SLucas CoutinhoVEXTSB2D        000100 ..... 11000 ..... 11000000010    @VX_tb
5249bfe9213SLucas CoutinhoVEXTSH2D        000100 ..... 11001 ..... 11000000010    @VX_tb
5259bfe9213SLucas CoutinhoVEXTSW2D        000100 ..... 11010 ..... 11000000010    @VX_tb
526acf43b34SLucas CoutinhoVEXTSD2Q        000100 ..... 11011 ..... 11000000010    @VX_tb
5279bfe9213SLucas Coutinho
5285f1470b0SMatheus Ferst## Vector Mask Manipulation Instructions
5295f1470b0SMatheus Ferst
5309193eaa9SMatheus FerstMTVSRBM         000100 ..... 10000 ..... 11001000010    @VX_tb
5319193eaa9SMatheus FerstMTVSRHM         000100 ..... 10001 ..... 11001000010    @VX_tb
5329193eaa9SMatheus FerstMTVSRWM         000100 ..... 10010 ..... 11001000010    @VX_tb
5339193eaa9SMatheus FerstMTVSRDM         000100 ..... 10011 ..... 11001000010    @VX_tb
5349193eaa9SMatheus FerstMTVSRQM         000100 ..... 10100 ..... 11001000010    @VX_tb
5359193eaa9SMatheus FerstMTVSRBMI        000100 ..... ..... .......... 01010 .   @DX_b
5369193eaa9SMatheus Ferst
5375f1470b0SMatheus FerstVEXPANDBM       000100 ..... 00000 ..... 11001000010    @VX_tb
5385f1470b0SMatheus FerstVEXPANDHM       000100 ..... 00001 ..... 11001000010    @VX_tb
5395f1470b0SMatheus FerstVEXPANDWM       000100 ..... 00010 ..... 11001000010    @VX_tb
5405f1470b0SMatheus FerstVEXPANDDM       000100 ..... 00011 ..... 11001000010    @VX_tb
5415f1470b0SMatheus FerstVEXPANDQM       000100 ..... 00100 ..... 11001000010    @VX_tb
5425f1470b0SMatheus Ferst
54317868d81SMatheus FerstVEXTRACTBM      000100 ..... 01000 ..... 11001000010    @VX_tb
54417868d81SMatheus FerstVEXTRACTHM      000100 ..... 01001 ..... 11001000010    @VX_tb
54517868d81SMatheus FerstVEXTRACTWM      000100 ..... 01010 ..... 11001000010    @VX_tb
54617868d81SMatheus FerstVEXTRACTDM      000100 ..... 01011 ..... 11001000010    @VX_tb
54717868d81SMatheus FerstVEXTRACTQM      000100 ..... 01100 ..... 11001000010    @VX_tb
54817868d81SMatheus Ferst
54995f1ee28SMatheus FerstVCNTMBB         000100 ..... 1100 . ..... 11001000010   @VX_mp
55095f1ee28SMatheus FerstVCNTMBH         000100 ..... 1101 . ..... 11001000010   @VX_mp
55195f1ee28SMatheus FerstVCNTMBW         000100 ..... 1110 . ..... 11001000010   @VX_mp
55295f1ee28SMatheus FerstVCNTMBD         000100 ..... 1111 . ..... 11001000010   @VX_mp
55395f1ee28SMatheus Ferst
55480eca687SLucas Mateus Castro (alqotel)## Vector Multiply Instruction
55580eca687SLucas Mateus Castro (alqotel)
55680eca687SLucas Mateus Castro (alqotel)VMULESB         000100 ..... ..... ..... 01100001000    @VX
55780eca687SLucas Mateus Castro (alqotel)VMULOSB         000100 ..... ..... ..... 00100001000    @VX
55880eca687SLucas Mateus Castro (alqotel)VMULEUB         000100 ..... ..... ..... 01000001000    @VX
55980eca687SLucas Mateus Castro (alqotel)VMULOUB         000100 ..... ..... ..... 00000001000    @VX
56080eca687SLucas Mateus Castro (alqotel)
56180eca687SLucas Mateus Castro (alqotel)VMULESH         000100 ..... ..... ..... 01101001000    @VX
56280eca687SLucas Mateus Castro (alqotel)VMULOSH         000100 ..... ..... ..... 00101001000    @VX
56380eca687SLucas Mateus Castro (alqotel)VMULEUH         000100 ..... ..... ..... 01001001000    @VX
56480eca687SLucas Mateus Castro (alqotel)VMULOUH         000100 ..... ..... ..... 00001001000    @VX
56580eca687SLucas Mateus Castro (alqotel)
56680eca687SLucas Mateus Castro (alqotel)VMULESW         000100 ..... ..... ..... 01110001000    @VX
56780eca687SLucas Mateus Castro (alqotel)VMULOSW         000100 ..... ..... ..... 00110001000    @VX
56880eca687SLucas Mateus Castro (alqotel)VMULEUW         000100 ..... ..... ..... 01010001000    @VX
56980eca687SLucas Mateus Castro (alqotel)VMULOUW         000100 ..... ..... ..... 00010001000    @VX
57080eca687SLucas Mateus Castro (alqotel)
57180eca687SLucas Mateus Castro (alqotel)VMULESD         000100 ..... ..... ..... 01111001000    @VX
57280eca687SLucas Mateus Castro (alqotel)VMULOSD         000100 ..... ..... ..... 00111001000    @VX
57380eca687SLucas Mateus Castro (alqotel)VMULEUD         000100 ..... ..... ..... 01011001000    @VX
57480eca687SLucas Mateus Castro (alqotel)VMULOUD         000100 ..... ..... ..... 00011001000    @VX
57580eca687SLucas Mateus Castro (alqotel)
576d45da014SLucas Mateus Castro (alqotel)VMULHSW         000100 ..... ..... ..... 01110001001    @VX
577d45da014SLucas Mateus Castro (alqotel)VMULHUW         000100 ..... ..... ..... 01010001001    @VX
578d45da014SLucas Mateus Castro (alqotel)VMULHSD         000100 ..... ..... ..... 01111001001    @VX
579d45da014SLucas Mateus Castro (alqotel)VMULHUD         000100 ..... ..... ..... 01011001001    @VX
580d45da014SLucas Mateus Castro (alqotel)VMULLD          000100 ..... ..... ..... 00111001001    @VX
581d45da014SLucas Mateus Castro (alqotel)
5825476ef1dSVíctor Colombo## Vector Multiply-Sum Instructions
5835476ef1dSVíctor Colombo
5845476ef1dSVíctor ColomboVMSUMCUD        000100 ..... ..... ..... ..... 010111   @VA
585536f9876SVíctor ColomboVMSUMUDM        000100 ..... ..... ..... ..... 100011   @VA
5865476ef1dSVíctor Colombo
587fb5303ccSMatheus Ferst## Vector String Instructions
588fb5303ccSMatheus Ferst
589fb5303ccSMatheus FerstVSTRIBL         000100 ..... 00000 ..... . 0000001101   @VX_tb_rc
590fb5303ccSMatheus FerstVSTRIBR         000100 ..... 00001 ..... . 0000001101   @VX_tb_rc
591fb5303ccSMatheus FerstVSTRIHL         000100 ..... 00010 ..... . 0000001101   @VX_tb_rc
592fb5303ccSMatheus FerstVSTRIHR         000100 ..... 00011 ..... . 0000001101   @VX_tb_rc
593fb5303ccSMatheus Ferst
59408d512e1SMatheus FerstVCLRLB          000100 ..... ..... ..... 00110001101    @VX
595fb1b5675SMatheus FerstVCLRRB          000100 ..... ..... ..... 00111001101    @VX
59608d512e1SMatheus Ferst
59772b70d5cSLucas Mateus Castro (alqotel)# VSX Load/Store Instructions
59872b70d5cSLucas Mateus Castro (alqotel)
59972b70d5cSLucas Mateus Castro (alqotel)LXV             111101 ..... ..... ............ . 001   @DQ_TSX
60072b70d5cSLucas Mateus Castro (alqotel)STXV            111101 ..... ..... ............ . 101   @DQ_TSX
60196fa2632SLucas Mateus Castro (alqotel)LXVP            000110 ..... ..... ............ 0000    @DQ_TSXP
60296fa2632SLucas Mateus Castro (alqotel)STXVP           000110 ..... ..... ............ 0001    @DQ_TSXP
60370426b5bSLucas Mateus Castro (alqotel)LXVX            011111 ..... ..... ..... 0100 - 01100 . @X_TSX
60470426b5bSLucas Mateus Castro (alqotel)STXVX           011111 ..... ..... ..... 0110001100 .   @X_TSX
605226ce506SLucas Mateus Castro (alqotel)LXVPX           011111 ..... ..... ..... 0101001101 -   @X_TSXP
606226ce506SLucas Mateus Castro (alqotel)STXVPX          011111 ..... ..... ..... 0111001101 -   @X_TSXP
60730dfca8dSBruno Larsen (billionai)
60830dfca8dSBruno Larsen (billionai)## VSX splat instruction
60930dfca8dSBruno Larsen (billionai)
6106166fcedSBruno Larsen (billionai)XXSPLTIB        111100 ..... 00 ........ 0101101000 .   @X_imm8
61130dfca8dSBruno Larsen (billionai)XXSPLTW         111100 ..... ---.. ..... 010100100 . .  @XX2
6126e26b85dSMatheus Ferst
6136a94bf19SMatheus Ferst## VSX Permute Instructions
6146a94bf19SMatheus Ferst
6156a94bf19SMatheus FerstXXPERM          111100 ..... ..... ..... 00011010 ...   @XX3
6166a94bf19SMatheus FerstXXPERMR         111100 ..... ..... ..... 00111010 ...   @XX3
617d31b2c19SMatheus FerstXXPERMDI        111100 ..... ..... ..... 0 .. 01010 ... @XX3_dm
6186a94bf19SMatheus Ferst
61943d55fc2SMatheus FerstXXSEL           111100 ..... ..... ..... ..... 11 ....  @XX4
62043d55fc2SMatheus Ferst
621*b090f4f1SMatheus Ferst## VSX Vector Generate PCV
622*b090f4f1SMatheus Ferst
623*b090f4f1SMatheus FerstXXGENPCVBM      111100 ..... ..... ..... 1110010100 .   @X_imm5
624*b090f4f1SMatheus FerstXXGENPCVHM      111100 ..... ..... ..... 1110010101 .   @X_imm5
625*b090f4f1SMatheus FerstXXGENPCVWM      111100 ..... ..... ..... 1110110100 .   @X_imm5
626*b090f4f1SMatheus FerstXXGENPCVDM      111100 ..... ..... ..... 1110110101 .   @X_imm5
627*b090f4f1SMatheus Ferst
6286e26b85dSMatheus Ferst## VSX Vector Load Special Value Instruction
6296e26b85dSMatheus Ferst
6306e26b85dSMatheus FerstLXVKQ           111100 ..... 11111 ..... 0101101000 .   @X_uim5
631c5df1898SVictor Colombo
632c5df1898SVictor Colombo## VSX Comparison Instructions
633c5df1898SVictor Colombo
634c5df1898SVictor ColomboXSMAXCDP        111100 ..... ..... ..... 10000000 ...   @XX3
635c5df1898SVictor ColomboXSMINCDP        111100 ..... ..... ..... 10001000 ...   @XX3
636c5df1898SVictor ColomboXSMAXJDP        111100 ..... ..... ..... 10010000 ...   @XX3
637c5df1898SVictor ColomboXSMINJDP        111100 ..... ..... ..... 10011000 ...   @XX3
638caf6f9b5SMatheus Ferst
639caf6f9b5SMatheus Ferst## VSX Binary Floating-Point Convert Instructions
640caf6f9b5SMatheus Ferst
641caf6f9b5SMatheus FerstXSCVQPDP        111111 ..... 10100 ..... 1101000100 .   @X_tb_rc
6421f26c751SDaniel Henrique Barboza
6431f26c751SDaniel Henrique Barboza### rfebb
6441f26c751SDaniel Henrique Barboza&XL_s           s:uint8_t
6451f26c751SDaniel Henrique Barboza@XL_s           ......-------------- s:1 .......... -   &XL_s
6461f26c751SDaniel Henrique BarbozaRFEBB           010011-------------- .   0010010010 -   @XL_s
647