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 43e7a5d578SMatheus Ferst&DX rt d 44e7a5d578SMatheus Ferst%dx_d 6:s10 16:5 0:1 45e7a5d578SMatheus Ferst@DX ...... rt:5 ..... .......... ..... . &DX d=%dx_d 46e7a5d578SMatheus Ferst 4728110b72SMatheus Ferst&VA vrt vra vrb rc 4828110b72SMatheus Ferst@VA ...... vrt:5 vra:5 vrb:5 rc:5 ...... &VA 4928110b72SMatheus Ferst 502c716b4dSMatheus Ferst&VN vrt vra vrb sh 512c716b4dSMatheus Ferst@VN ...... vrt:5 vra:5 vrb:5 .. sh:3 ...... &VN 522c716b4dSMatheus Ferst 53a5f56954SMatheus Ferst&VX vrt vra vrb 54a5f56954SMatheus Ferst@VX ...... vrt:5 vra:5 vrb:5 .......... . &VX 55a5f56954SMatheus Ferst 5623832ae6SMatheus Ferst&VX_uim4 vrt uim vrb 5723832ae6SMatheus Ferst@VX_uim4 ...... vrt:5 . uim:4 vrb:5 ........... &VX_uim4 5823832ae6SMatheus Ferst 59f2aabda8SRichard Henderson&X rt ra rb 60f2aabda8SRichard Henderson@X ...... rt:5 ra:5 rb:5 .......... . &X 61f2aabda8SRichard Henderson 62afdc9310SLuis Pires&X_rc rt ra rb rc:bool 63afdc9310SLuis Pires@X_rc ...... rt:5 ra:5 rb:5 .......... rc:1 &X_rc 64afdc9310SLuis Pires 65afdc9310SLuis Pires%x_frtp 22:4 !function=times_2 66afdc9310SLuis Pires%x_frap 17:4 !function=times_2 67afdc9310SLuis Pires%x_frbp 12:4 !function=times_2 68afdc9310SLuis Pires@X_tp_ap_bp_rc ...... ....0 ....0 ....0 .......... rc:1 &X_rc rt=%x_frtp ra=%x_frap rb=%x_frbp 69afdc9310SLuis Pires 70afdc9310SLuis Pires@X_tp_a_bp_rc ...... ....0 ra:5 ....0 .......... rc:1 &X_rc rt=%x_frtp rb=%x_frbp 71afdc9310SLuis Pires 72c8ef4d1eSLuis Pires&X_tb_rc rt rb rc:bool 73c8ef4d1eSLuis Pires@X_tb_rc ...... rt:5 ..... rb:5 .......... rc:1 &X_tb_rc 74c8ef4d1eSLuis Pires 75c8ef4d1eSLuis Pires@X_tbp_rc ...... ....0 ..... ....0 .......... rc:1 &X_tb_rc rt=%x_frtp rb=%x_frbp 76c8ef4d1eSLuis Pires 77c8ef4d1eSLuis Pires@X_tp_b_rc ...... ....0 ..... rb:5 .......... rc:1 &X_tb_rc rt=%x_frtp 78c8ef4d1eSLuis Pires 79c8ef4d1eSLuis Pires@X_t_bp_rc ...... rt:5 ..... ....0 .......... rc:1 &X_tb_rc rb=%x_frbp 80c8ef4d1eSLuis Pires 819a14365eSMatheus Ferst&X_bi rt bi 829a14365eSMatheus Ferst@X_bi ...... rt:5 bi:5 ----- .......... - &X_bi 839a14365eSMatheus Ferst 8485c38a46SLuis Pires&X_bf bf ra rb 8585c38a46SLuis Pires@X_bf ...... bf:3 .. ra:5 rb:5 .......... . &X_bf 8685c38a46SLuis Pires 8785c38a46SLuis Pires@X_bf_ap_bp ...... bf:3 .. ....0 ....0 .......... . &X_bf ra=%x_frap rb=%x_frbp 8885c38a46SLuis Pires 8985c38a46SLuis Pires@X_bf_a_bp ...... bf:3 .. ra:5 ....0 .......... . &X_bf rb=%x_frbp 9085c38a46SLuis Pires 9185c38a46SLuis Pires&X_bf_uim bf uim rb 9285c38a46SLuis Pires@X_bf_uim ...... bf:3 . uim:6 rb:5 .......... . &X_bf_uim 9385c38a46SLuis Pires 9485c38a46SLuis Pires@X_bf_uim_bp ...... bf:3 . uim:6 ....0 .......... . &X_bf_uim rb=%x_frbp 9585c38a46SLuis Pires 968f0a4b6aSMatheus Ferst&X_bfl bf l:bool ra rb 978f0a4b6aSMatheus Ferst@X_bfl ...... bf:3 - l:1 ra:5 rb:5 ..........- &X_bfl 988f0a4b6aSMatheus Ferst 996166fcedSBruno Larsen (billionai)%x_xt 0:1 21:5 1006166fcedSBruno Larsen (billionai)&X_imm8 xt imm:uint8_t 1016166fcedSBruno Larsen (billionai)@X_imm8 ...... ..... .. imm:8 .......... . &X_imm8 xt=%x_xt 1026166fcedSBruno Larsen (billionai) 103*6e26b85dSMatheus Ferst&X_uim5 xt uim:uint8_t 104*6e26b85dSMatheus Ferst@X_uim5 ...... ..... ..... uim:5 .......... . &X_uim5 xt=%x_xt 105*6e26b85dSMatheus Ferst 106a2329747SLuis Pires&X_tb_sp_rc rt rb sp rc:bool 107a2329747SLuis Pires@X_tb_sp_rc ...... rt:5 sp:2 ... rb:5 .......... rc:1 &X_tb_sp_rc 108a2329747SLuis Pires 109a2329747SLuis Pires@X_tbp_sp_rc ...... ....0 sp:2 ... ....0 .......... rc:1 &X_tb_sp_rc rt=%x_frtp rb=%x_frbp 110a2329747SLuis Pires 111a2329747SLuis Pires&X_tb_s_rc rt rb s:bool rc:bool 112a2329747SLuis Pires@X_tb_s_rc ...... rt:5 s:1 .... rb:5 .......... rc:1 &X_tb_s_rc 113a2329747SLuis Pires 114a2329747SLuis Pires@X_tbp_s_rc ...... ....0 s:1 .... ....0 .......... rc:1 &X_tb_s_rc rt=%x_frtp rb=%x_frbp 115a2329747SLuis Pires 11670426b5bSLucas Mateus Castro (alqotel)%x_rt_tsx 0:1 21:5 11770426b5bSLucas Mateus Castro (alqotel)@X_TSX ...... ..... ra:5 rb:5 .......... . &X rt=%x_rt_tsx 118226ce506SLucas Mateus Castro (alqotel)@X_TSXP ...... ..... ra:5 rb:5 .......... . &X rt=%rt_tsxp 11970426b5bSLucas Mateus Castro (alqotel) 120d39b2cc7SLuis Pires&X_frtp_vrb frtp vrb 121d39b2cc7SLuis Pires@X_frtp_vrb ...... ....0 ..... vrb:5 .......... . &X_frtp_vrb frtp=%x_frtp 122d39b2cc7SLuis Pires 123328747f3SLuis Pires&X_vrt_frbp vrt frbp 124328747f3SLuis Pires@X_vrt_frbp ...... vrt:5 ..... ....0 .......... . &X_vrt_frbp frbp=%x_frbp 125328747f3SLuis Pires 12630dfca8dSBruno Larsen (billionai)&XX2 xt xb uim:uint8_t 12730dfca8dSBruno Larsen (billionai)%xx2_xt 0:1 21:5 12830dfca8dSBruno Larsen (billionai)%xx2_xb 1:1 11:5 12930dfca8dSBruno Larsen (billionai)@XX2 ...... ..... ... uim:2 ..... ......... .. &XX2 xt=%xx2_xt xb=%xx2_xb 13030dfca8dSBruno Larsen (billionai) 13187bc8e52SLuis Pires&Z22_bf_fra bf fra dm 13287bc8e52SLuis Pires@Z22_bf_fra ...... bf:3 .. fra:5 dm:6 ......... . &Z22_bf_fra 13387bc8e52SLuis Pires 13487bc8e52SLuis Pires%z22_frap 17:4 !function=times_2 13587bc8e52SLuis Pires@Z22_bf_frap ...... bf:3 .. ....0 dm:6 ......... . &Z22_bf_fra fra=%z22_frap 13687bc8e52SLuis Pires 137a2329747SLuis Pires&Z22_ta_sh_rc rt ra sh rc:bool 138a2329747SLuis Pires@Z22_ta_sh_rc ...... rt:5 ra:5 sh:6 ......... rc:1 &Z22_ta_sh_rc 139a2329747SLuis Pires 140a2329747SLuis Pires%z22_frtp 22:4 !function=times_2 141a2329747SLuis Pires@Z22_tap_sh_rc ...... ....0 ....0 sh:6 ......... rc:1 &Z22_ta_sh_rc rt=%z22_frtp ra=%z22_frap 142a2329747SLuis Pires 143a8f4bce6SLuis Pires&Z23_tab frt fra frb rmc rc:bool 144a8f4bce6SLuis Pires@Z23_tab ...... frt:5 fra:5 frb:5 rmc:2 ........ rc:1 &Z23_tab 145a8f4bce6SLuis Pires 146a8f4bce6SLuis Pires%z23_frtp 22:4 !function=times_2 147a8f4bce6SLuis Pires%z23_frap 17:4 !function=times_2 148a8f4bce6SLuis Pires%z23_frbp 12:4 !function=times_2 149a8f4bce6SLuis Pires@Z23_tabp ...... ....0 ....0 ....0 rmc:2 ........ rc:1 &Z23_tab frt=%z23_frtp fra=%z23_frap frb=%z23_frbp 150a8f4bce6SLuis Pires 151a8f4bce6SLuis Pires@Z23_tp_a_bp ...... ....0 fra:5 ....0 rmc:2 ........ rc:1 &Z23_tab frt=%z23_frtp frb=%z23_frbp 152a8f4bce6SLuis Pires 15378464edbSLuis Pires&Z23_tb frt frb r:bool rmc rc:bool 15478464edbSLuis Pires@Z23_tb ...... frt:5 .... r:1 frb:5 rmc:2 ........ rc:1 &Z23_tb 15578464edbSLuis Pires 15678464edbSLuis Pires@Z23_tbp ...... ....0 .... r:1 ....0 rmc:2 ........ rc:1 &Z23_tb frt=%z23_frtp frb=%z23_frbp 15778464edbSLuis Pires 15878464edbSLuis Pires&Z23_te_tb te frt frb rmc rc:bool 15978464edbSLuis Pires@Z23_te_tb ...... frt:5 te:5 frb:5 rmc:2 ........ rc:1 &Z23_te_tb 16078464edbSLuis Pires 16178464edbSLuis Pires@Z23_te_tbp ...... ....0 te:5 ....0 rmc:2 ........ rc:1 &Z23_te_tb frt=%z23_frtp frb=%z23_frbp 16278464edbSLuis Pires 163f2aabda8SRichard Henderson### Fixed-Point Load Instructions 164f2aabda8SRichard Henderson 165f2aabda8SRichard HendersonLBZ 100010 ..... ..... ................ @D 166f2aabda8SRichard HendersonLBZU 100011 ..... ..... ................ @D 167f2aabda8SRichard HendersonLBZX 011111 ..... ..... ..... 0001010111 - @X 168f2aabda8SRichard HendersonLBZUX 011111 ..... ..... ..... 0001110111 - @X 169f2aabda8SRichard Henderson 170f2aabda8SRichard HendersonLHZ 101000 ..... ..... ................ @D 171f2aabda8SRichard HendersonLHZU 101001 ..... ..... ................ @D 172f2aabda8SRichard HendersonLHZX 011111 ..... ..... ..... 0100010111 - @X 173f2aabda8SRichard HendersonLHZUX 011111 ..... ..... ..... 0100110111 - @X 174f2aabda8SRichard Henderson 175f2aabda8SRichard HendersonLHA 101010 ..... ..... ................ @D 176f2aabda8SRichard HendersonLHAU 101011 ..... ..... ................ @D 177f2aabda8SRichard HendersonLHAX 011111 ..... ..... ..... 0101010111 - @X 178f2aabda8SRichard HendersonLHAXU 011111 ..... ..... ..... 0101110111 - @X 179f2aabda8SRichard Henderson 180f2aabda8SRichard HendersonLWZ 100000 ..... ..... ................ @D 181f2aabda8SRichard HendersonLWZU 100001 ..... ..... ................ @D 182f2aabda8SRichard HendersonLWZX 011111 ..... ..... ..... 0000010111 - @X 183f2aabda8SRichard HendersonLWZUX 011111 ..... ..... ..... 0000110111 - @X 184f2aabda8SRichard Henderson 185f2aabda8SRichard HendersonLWA 111010 ..... ..... ..............10 @DS 186f2aabda8SRichard HendersonLWAX 011111 ..... ..... ..... 0101010101 - @X 187f2aabda8SRichard HendersonLWAUX 011111 ..... ..... ..... 0101110101 - @X 188f2aabda8SRichard Henderson 189f2aabda8SRichard HendersonLD 111010 ..... ..... ..............00 @DS 190f2aabda8SRichard HendersonLDU 111010 ..... ..... ..............01 @DS 191f2aabda8SRichard HendersonLDX 011111 ..... ..... ..... 0000010101 - @X 192f2aabda8SRichard HendersonLDUX 011111 ..... ..... ..... 0000110101 - @X 193f2aabda8SRichard Henderson 194e10271e1SMatheus FerstLQ 111000 ..... ..... ............ ---- @DQ_rtp 195e10271e1SMatheus Ferst 196e8f4c8d6SRichard Henderson### Fixed-Point Store Instructions 197e8f4c8d6SRichard Henderson 198e8f4c8d6SRichard HendersonSTB 100110 ..... ..... ................ @D 199e8f4c8d6SRichard HendersonSTBU 100111 ..... ..... ................ @D 200e8f4c8d6SRichard HendersonSTBX 011111 ..... ..... ..... 0011010111 - @X 201e8f4c8d6SRichard HendersonSTBUX 011111 ..... ..... ..... 0011110111 - @X 202e8f4c8d6SRichard Henderson 203e8f4c8d6SRichard HendersonSTH 101100 ..... ..... ................ @D 204e8f4c8d6SRichard HendersonSTHU 101101 ..... ..... ................ @D 205e8f4c8d6SRichard HendersonSTHX 011111 ..... ..... ..... 0110010111 - @X 206e8f4c8d6SRichard HendersonSTHUX 011111 ..... ..... ..... 0110110111 - @X 207e8f4c8d6SRichard Henderson 208e8f4c8d6SRichard HendersonSTW 100100 ..... ..... ................ @D 209e8f4c8d6SRichard HendersonSTWU 100101 ..... ..... ................ @D 210e8f4c8d6SRichard HendersonSTWX 011111 ..... ..... ..... 0010010111 - @X 211e8f4c8d6SRichard HendersonSTWUX 011111 ..... ..... ..... 0010110111 - @X 212e8f4c8d6SRichard Henderson 213e8f4c8d6SRichard HendersonSTD 111110 ..... ..... ..............00 @DS 214e8f4c8d6SRichard HendersonSTDU 111110 ..... ..... ..............01 @DS 215e8f4c8d6SRichard HendersonSTDX 011111 ..... ..... ..... 0010010101 - @X 216e8f4c8d6SRichard HendersonSTDUX 011111 ..... ..... ..... 0010110101 - @X 217e8f4c8d6SRichard Henderson 218e10271e1SMatheus FerstSTQ 111110 ..... ..... ..............10 @DS_rtp 219e10271e1SMatheus Ferst 2208f0a4b6aSMatheus Ferst### Fixed-Point Compare Instructions 2218f0a4b6aSMatheus Ferst 2228f0a4b6aSMatheus FerstCMP 011111 ... - . ..... ..... 0000000000 - @X_bfl 2238f0a4b6aSMatheus FerstCMPL 011111 ... - . ..... ..... 0000100000 - @X_bfl 2248f0a4b6aSMatheus FerstCMPI 001011 ... - . ..... ................ @D_bfs 2258f0a4b6aSMatheus FerstCMPLI 001010 ... - . ..... ................ @D_bfu 2268f0a4b6aSMatheus Ferst 2275e560864SRichard Henderson### Fixed-Point Arithmetic Instructions 2285e560864SRichard Henderson 2295e560864SRichard HendersonADDI 001110 ..... ..... ................ @D 2305e560864SRichard HendersonADDIS 001111 ..... ..... ................ @D 2319a14365eSMatheus Ferst 232e7a5d578SMatheus FerstADDPCIS 010011 ..... ..... .......... 00010 . @DX 233e7a5d578SMatheus Ferst 23489ccd7dcSMatheus Ferst## Fixed-Point Logical Instructions 23589ccd7dcSMatheus Ferst 23689ccd7dcSMatheus FerstCFUGED 011111 ..... ..... ..... 0011011100 - @X 23782be6e02SLuis PiresCNTLZDM 011111 ..... ..... ..... 0000111011 - @X 238f356b3baSLuis PiresCNTTZDM 011111 ..... ..... ..... 1000111011 - @X 23921ba6e58SMatheus FerstPDEPD 011111 ..... ..... ..... 0010011100 - @X 2408bdb7606SMatheus FerstPEXTD 011111 ..... ..... ..... 0010111100 - @X 24189ccd7dcSMatheus Ferst 242fbd2e60eSFernando Eckhardt Valle### Float-Point Load Instructions 243fbd2e60eSFernando Eckhardt Valle 244fbd2e60eSFernando Eckhardt ValleLFS 110000 ..... ..... ................ @D 245fbd2e60eSFernando Eckhardt ValleLFSU 110001 ..... ..... ................ @D 246fbd2e60eSFernando Eckhardt ValleLFSX 011111 ..... ..... ..... 1000010111 - @X 247fbd2e60eSFernando Eckhardt ValleLFSUX 011111 ..... ..... ..... 1000110111 - @X 248fbd2e60eSFernando Eckhardt Valle 249fbd2e60eSFernando Eckhardt ValleLFD 110010 ..... ..... ................ @D 250fbd2e60eSFernando Eckhardt ValleLFDU 110011 ..... ..... ................ @D 251fbd2e60eSFernando Eckhardt ValleLFDX 011111 ..... ..... ..... 1001010111 - @X 252fbd2e60eSFernando Eckhardt ValleLFDUX 011111 ..... ..... ..... 1001110111 - @X 253fbd2e60eSFernando Eckhardt Valle 254fbd2e60eSFernando Eckhardt Valle### Float-Point Store Instructions 255fbd2e60eSFernando Eckhardt Valle 256fbd2e60eSFernando Eckhardt ValleSTFS 110100 ..... ...... ............... @D 257fbd2e60eSFernando Eckhardt ValleSTFSU 110101 ..... ...... ............... @D 258fbd2e60eSFernando Eckhardt ValleSTFSX 011111 ..... ...... .... 1010010111 - @X 259fbd2e60eSFernando Eckhardt ValleSTFSUX 011111 ..... ...... .... 1010110111 - @X 260fbd2e60eSFernando Eckhardt Valle 261fbd2e60eSFernando Eckhardt ValleSTFD 110110 ..... ...... ............... @D 262fbd2e60eSFernando Eckhardt ValleSTFDU 110111 ..... ...... ............... @D 263fbd2e60eSFernando Eckhardt ValleSTFDX 011111 ..... ...... .... 1011010111 - @X 264fbd2e60eSFernando Eckhardt ValleSTFDUX 011111 ..... ...... .... 1011110111 - @X 265fbd2e60eSFernando Eckhardt Valle 2669a14365eSMatheus Ferst### Move To/From System Register Instructions 2679a14365eSMatheus Ferst 2689a14365eSMatheus FerstSETBC 011111 ..... ..... ----- 0110000000 - @X_bi 2699a14365eSMatheus FerstSETBCR 011111 ..... ..... ----- 0110100000 - @X_bi 2709a14365eSMatheus FerstSETNBC 011111 ..... ..... ----- 0111000000 - @X_bi 2719a14365eSMatheus FerstSETNBCR 011111 ..... ..... ----- 0111100000 - @X_bi 272a5f56954SMatheus Ferst 273afdc9310SLuis Pires### Decimal Floating-Point Arithmetic Instructions 274afdc9310SLuis Pires 275afdc9310SLuis PiresDADD 111011 ..... ..... ..... 0000000010 . @X_rc 276afdc9310SLuis PiresDADDQ 111111 ..... ..... ..... 0000000010 . @X_tp_ap_bp_rc 277afdc9310SLuis Pires 278afdc9310SLuis PiresDSUB 111011 ..... ..... ..... 1000000010 . @X_rc 279afdc9310SLuis PiresDSUBQ 111111 ..... ..... ..... 1000000010 . @X_tp_ap_bp_rc 280afdc9310SLuis Pires 281afdc9310SLuis PiresDMUL 111011 ..... ..... ..... 0000100010 . @X_rc 282afdc9310SLuis PiresDMULQ 111111 ..... ..... ..... 0000100010 . @X_tp_ap_bp_rc 283afdc9310SLuis Pires 284afdc9310SLuis PiresDDIV 111011 ..... ..... ..... 1000100010 . @X_rc 285afdc9310SLuis PiresDDIVQ 111111 ..... ..... ..... 1000100010 . @X_tp_ap_bp_rc 286afdc9310SLuis Pires 28785c38a46SLuis Pires### Decimal Floating-Point Compare Instructions 28885c38a46SLuis Pires 28985c38a46SLuis PiresDCMPU 111011 ... -- ..... ..... 1010000010 - @X_bf 29085c38a46SLuis PiresDCMPUQ 111111 ... -- ..... ..... 1010000010 - @X_bf_ap_bp 29185c38a46SLuis Pires 29285c38a46SLuis PiresDCMPO 111011 ... -- ..... ..... 0010000010 - @X_bf 29385c38a46SLuis PiresDCMPOQ 111111 ... -- ..... ..... 0010000010 - @X_bf_ap_bp 29485c38a46SLuis Pires 29587bc8e52SLuis Pires### Decimal Floating-Point Test Instructions 29687bc8e52SLuis Pires 29787bc8e52SLuis PiresDTSTDC 111011 ... -- ..... ...... 011000010 - @Z22_bf_fra 29887bc8e52SLuis PiresDTSTDCQ 111111 ... -- ..... ...... 011000010 - @Z22_bf_frap 29987bc8e52SLuis Pires 30087bc8e52SLuis PiresDTSTDG 111011 ... -- ..... ...... 011100010 - @Z22_bf_fra 30187bc8e52SLuis PiresDTSTDGQ 111111 ... -- ..... ...... 011100010 - @Z22_bf_frap 30287bc8e52SLuis Pires 30385c38a46SLuis PiresDTSTEX 111011 ... -- ..... ..... 0010100010 - @X_bf 30485c38a46SLuis PiresDTSTEXQ 111111 ... -- ..... ..... 0010100010 - @X_bf_ap_bp 30585c38a46SLuis Pires 30685c38a46SLuis PiresDTSTSF 111011 ... -- ..... ..... 1010100010 - @X_bf 30785c38a46SLuis PiresDTSTSFQ 111111 ... -- ..... ..... 1010100010 - @X_bf_a_bp 30885c38a46SLuis Pires 30985c38a46SLuis PiresDTSTSFI 111011 ... - ...... ..... 1010100011 - @X_bf_uim 31085c38a46SLuis PiresDTSTSFIQ 111111 ... - ...... ..... 1010100011 - @X_bf_uim_bp 31185c38a46SLuis Pires 31278464edbSLuis Pires### Decimal Floating-Point Quantum Adjustment Instructions 31378464edbSLuis Pires 31478464edbSLuis PiresDQUAI 111011 ..... ..... ..... .. 01000011 . @Z23_te_tb 31578464edbSLuis PiresDQUAIQ 111111 ..... ..... ..... .. 01000011 . @Z23_te_tbp 31678464edbSLuis Pires 317a8f4bce6SLuis PiresDQUA 111011 ..... ..... ..... .. 00000011 . @Z23_tab 318a8f4bce6SLuis PiresDQUAQ 111111 ..... ..... ..... .. 00000011 . @Z23_tabp 319a8f4bce6SLuis Pires 320a8f4bce6SLuis PiresDRRND 111011 ..... ..... ..... .. 00100011 . @Z23_tab 321a8f4bce6SLuis PiresDRRNDQ 111111 ..... ..... ..... .. 00100011 . @Z23_tp_a_bp 322a8f4bce6SLuis Pires 32378464edbSLuis PiresDRINTX 111011 ..... ---- . ..... .. 01100011 . @Z23_tb 32478464edbSLuis PiresDRINTXQ 111111 ..... ---- . ..... .. 01100011 . @Z23_tbp 32578464edbSLuis Pires 32678464edbSLuis PiresDRINTN 111011 ..... ---- . ..... .. 11100011 . @Z23_tb 32778464edbSLuis PiresDRINTNQ 111111 ..... ---- . ..... .. 11100011 . @Z23_tbp 32878464edbSLuis Pires 329d39b2cc7SLuis Pires### Decimal Floating-Point Conversion Instructions 330d39b2cc7SLuis Pires 331c8ef4d1eSLuis PiresDCTDP 111011 ..... ----- ..... 0100000010 . @X_tb_rc 332c8ef4d1eSLuis PiresDCTQPQ 111111 ..... ----- ..... 0100000010 . @X_tp_b_rc 333c8ef4d1eSLuis Pires 334c8ef4d1eSLuis PiresDRSP 111011 ..... ----- ..... 1100000010 . @X_tb_rc 335c8ef4d1eSLuis PiresDRDPQ 111111 ..... ----- ..... 1100000010 . @X_tbp_rc 336c8ef4d1eSLuis Pires 337c8ef4d1eSLuis PiresDCFFIX 111011 ..... ----- ..... 1100100010 . @X_tb_rc 338c8ef4d1eSLuis PiresDCFFIXQ 111111 ..... ----- ..... 1100100010 . @X_tp_b_rc 339d39b2cc7SLuis PiresDCFFIXQQ 111111 ..... 00000 ..... 1111100010 - @X_frtp_vrb 340c8ef4d1eSLuis Pires 341c8ef4d1eSLuis PiresDCTFIX 111011 ..... ----- ..... 0100100010 . @X_tb_rc 342c8ef4d1eSLuis PiresDCTFIXQ 111111 ..... ----- ..... 0100100010 . @X_t_bp_rc 343328747f3SLuis PiresDCTFIXQQ 111111 ..... 00001 ..... 1111100010 - @X_vrt_frbp 344d39b2cc7SLuis Pires 345afdc9310SLuis Pires### Decimal Floating-Point Format Instructions 346afdc9310SLuis Pires 347a2329747SLuis PiresDDEDPD 111011 ..... .. --- ..... 0101000010 . @X_tb_sp_rc 348a2329747SLuis PiresDDEDPDQ 111111 ..... .. --- ..... 0101000010 . @X_tbp_sp_rc 349a2329747SLuis Pires 350a2329747SLuis PiresDENBCD 111011 ..... . ---- ..... 1101000010 . @X_tb_s_rc 351a2329747SLuis PiresDENBCDQ 111111 ..... . ---- ..... 1101000010 . @X_tbp_s_rc 352a2329747SLuis Pires 353c8ef4d1eSLuis PiresDXEX 111011 ..... ----- ..... 0101100010 . @X_tb_rc 354c8ef4d1eSLuis PiresDXEXQ 111111 ..... ----- ..... 0101100010 . @X_t_bp_rc 355c8ef4d1eSLuis Pires 356afdc9310SLuis PiresDIEX 111011 ..... ..... ..... 1101100010 . @X_rc 357afdc9310SLuis PiresDIEXQ 111111 ..... ..... ..... 1101100010 . @X_tp_a_bp_rc 358afdc9310SLuis Pires 359a2329747SLuis PiresDSCLI 111011 ..... ..... ...... 001000010 . @Z22_ta_sh_rc 360a2329747SLuis PiresDSCLIQ 111111 ..... ..... ...... 001000010 . @Z22_tap_sh_rc 361a2329747SLuis Pires 362a2329747SLuis PiresDSCRI 111011 ..... ..... ...... 001100010 . @Z22_ta_sh_rc 363a2329747SLuis PiresDSCRIQ 111111 ..... ..... ...... 001100010 . @Z22_tap_sh_rc 364a2329747SLuis Pires 365a5f56954SMatheus Ferst## Vector Bit Manipulation Instruction 366a5f56954SMatheus Ferst 367a5f56954SMatheus FerstVCFUGED 000100 ..... ..... ..... 10101001101 @VX 368a2c975e1SMatheus FerstVCLZDM 000100 ..... ..... ..... 11110000100 @VX 369a2c975e1SMatheus FerstVCTZDM 000100 ..... ..... ..... 11111000100 @VX 37000a16569SMatheus FerstVPDEPD 000100 ..... ..... ..... 10111001101 @VX 37100a16569SMatheus FerstVPEXTD 000100 ..... ..... ..... 10110001101 @VX 3722c716b4dSMatheus Ferst 3732c716b4dSMatheus Ferst## Vector Permute and Formatting Instruction 3742c716b4dSMatheus Ferst 37528110b72SMatheus FerstVEXTDUBVLX 000100 ..... ..... ..... ..... 011000 @VA 37628110b72SMatheus FerstVEXTDUBVRX 000100 ..... ..... ..... ..... 011001 @VA 37728110b72SMatheus FerstVEXTDUHVLX 000100 ..... ..... ..... ..... 011010 @VA 37828110b72SMatheus FerstVEXTDUHVRX 000100 ..... ..... ..... ..... 011011 @VA 37928110b72SMatheus FerstVEXTDUWVLX 000100 ..... ..... ..... ..... 011100 @VA 38028110b72SMatheus FerstVEXTDUWVRX 000100 ..... ..... ..... ..... 011101 @VA 38128110b72SMatheus FerstVEXTDDVLX 000100 ..... ..... ..... ..... 011110 @VA 38228110b72SMatheus FerstVEXTDDVRX 000100 ..... ..... ..... ..... 011111 @VA 38328110b72SMatheus Ferst 384b422c2cbSMatheus FerstVINSERTB 000100 ..... - .... ..... 01100001101 @VX_uim4 385b422c2cbSMatheus FerstVINSERTH 000100 ..... - .... ..... 01101001101 @VX_uim4 386b422c2cbSMatheus FerstVINSERTW 000100 ..... - .... ..... 01110001101 @VX_uim4 387b422c2cbSMatheus FerstVINSERTD 000100 ..... - .... ..... 01111001101 @VX_uim4 388b422c2cbSMatheus Ferst 3892cc12af3SMatheus FerstVINSBLX 000100 ..... ..... ..... 01000001111 @VX 3902cc12af3SMatheus FerstVINSBRX 000100 ..... ..... ..... 01100001111 @VX 3912cc12af3SMatheus FerstVINSHLX 000100 ..... ..... ..... 01001001111 @VX 3922cc12af3SMatheus FerstVINSHRX 000100 ..... ..... ..... 01101001111 @VX 3932cc12af3SMatheus FerstVINSWLX 000100 ..... ..... ..... 01010001111 @VX 3942cc12af3SMatheus FerstVINSWRX 000100 ..... ..... ..... 01110001111 @VX 3952cc12af3SMatheus FerstVINSDLX 000100 ..... ..... ..... 01011001111 @VX 3962cc12af3SMatheus FerstVINSDRX 000100 ..... ..... ..... 01111001111 @VX 3972cc12af3SMatheus Ferst 39823832ae6SMatheus FerstVINSW 000100 ..... - .... ..... 00011001111 @VX_uim4 39923832ae6SMatheus FerstVINSD 000100 ..... - .... ..... 00111001111 @VX_uim4 40023832ae6SMatheus Ferst 4012c9f7958SMatheus FerstVINSBVLX 000100 ..... ..... ..... 00000001111 @VX 4022c9f7958SMatheus FerstVINSBVRX 000100 ..... ..... ..... 00100001111 @VX 4032c9f7958SMatheus FerstVINSHVLX 000100 ..... ..... ..... 00001001111 @VX 4042c9f7958SMatheus FerstVINSHVRX 000100 ..... ..... ..... 00101001111 @VX 4052c9f7958SMatheus FerstVINSWVLX 000100 ..... ..... ..... 00010001111 @VX 4062c9f7958SMatheus FerstVINSWVRX 000100 ..... ..... ..... 00110001111 @VX 4072c9f7958SMatheus Ferst 4082c716b4dSMatheus FerstVSLDBI 000100 ..... ..... ..... 00 ... 010110 @VN 4092c716b4dSMatheus FerstVSRDBI 000100 ..... ..... ..... 01 ... 010110 @VN 41072b70d5cSLucas Mateus Castro (alqotel) 41172b70d5cSLucas Mateus Castro (alqotel)# VSX Load/Store Instructions 41272b70d5cSLucas Mateus Castro (alqotel) 41372b70d5cSLucas Mateus Castro (alqotel)LXV 111101 ..... ..... ............ . 001 @DQ_TSX 41472b70d5cSLucas Mateus Castro (alqotel)STXV 111101 ..... ..... ............ . 101 @DQ_TSX 41596fa2632SLucas Mateus Castro (alqotel)LXVP 000110 ..... ..... ............ 0000 @DQ_TSXP 41696fa2632SLucas Mateus Castro (alqotel)STXVP 000110 ..... ..... ............ 0001 @DQ_TSXP 41770426b5bSLucas Mateus Castro (alqotel)LXVX 011111 ..... ..... ..... 0100 - 01100 . @X_TSX 41870426b5bSLucas Mateus Castro (alqotel)STXVX 011111 ..... ..... ..... 0110001100 . @X_TSX 419226ce506SLucas Mateus Castro (alqotel)LXVPX 011111 ..... ..... ..... 0101001101 - @X_TSXP 420226ce506SLucas Mateus Castro (alqotel)STXVPX 011111 ..... ..... ..... 0111001101 - @X_TSXP 42130dfca8dSBruno Larsen (billionai) 42230dfca8dSBruno Larsen (billionai)## VSX splat instruction 42330dfca8dSBruno Larsen (billionai) 4246166fcedSBruno Larsen (billionai)XXSPLTIB 111100 ..... 00 ........ 0101101000 . @X_imm8 42530dfca8dSBruno Larsen (billionai)XXSPLTW 111100 ..... ---.. ..... 010100100 . . @XX2 426*6e26b85dSMatheus Ferst 427*6e26b85dSMatheus Ferst## VSX Vector Load Special Value Instruction 428*6e26b85dSMatheus Ferst 429*6e26b85dSMatheus FerstLXVKQ 111100 ..... 11111 ..... 0101101000 . @X_uim5 430