1# RUN: llvm-mc -triple powerpc64-unknown-linux-gnu --show-encoding %s | \ 2# RUN: FileCheck -check-prefix=CHECK-BE %s 3# RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu --show-encoding %s | \ 4# RUN: FileCheck -check-prefix=CHECK-LE %s 5 6# CHECK-BE: plxv 63, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 7# CHECK-BE-SAME: 0xcf,0xe0,0xff,0xff] 8# CHECK-LE: plxv 63, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04 9# CHECK-LE-SAME: 0xff,0xff,0xe0,0xcf] 10 plxv 63, 8589934591(0), 1 11# CHECK-BE: plxv 33, -8589934592(31), 0 # encoding: [0x04,0x02,0x00,0x00 12# CHECK-BE-SAME: 0xcc,0x3f,0x00,0x00] 13# CHECK-LE: plxv 33, -8589934592(31), 0 # encoding: [0x00,0x00,0x02,0x04 14# CHECK-LE-SAME: 0x00,0x00,0x3f,0xcc] 15 plxv 33, -8589934592(31), 0 16# CHECK-BE: pstxv 63, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 17# CHECK-BE-SAME: 0xdf,0xe0,0xff,0xff] 18# CHECK-LE: pstxv 63, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04 19# CHECK-LE-SAME: 0xff,0xff,0xe0,0xdf] 20 pstxv 63, 8589934591(0), 1 21# CHECK-BE: pstxv 33, -8589934592(31), 0 # encoding: [0x04,0x02,0x00,0x00 22# CHECK-BE-SAME: 0xdc,0x3f,0x00,0x00] 23# CHECK-LE: pstxv 33, -8589934592(31), 0 # encoding: [0x00,0x00,0x02,0x04 24# CHECK-LE-SAME: 0x00,0x00,0x3f,0xdc] 25 pstxv 33, -8589934592(31), 0 26# CHECK-BE: paddi 1, 2, 8589934591, 0 # encoding: [0x06,0x01,0xff,0xff 27# CHECK-BE-SAME: 0x38,0x22,0xff,0xff] 28# CHECK-LE: paddi 1, 2, 8589934591, 0 # encoding: [0xff,0xff,0x01,0x06 29# CHECK-LE-SAME: 0xff,0xff,0x22,0x38] 30 paddi 1, 2, 8589934591, 0 31# CHECK-BE: paddi 1, 0, -8589934592, 1 # encoding: [0x06,0x12,0x00,0x00 32# CHECK-BE-SAME: 0x38,0x20,0x00,0x00] 33# CHECK-LE: paddi 1, 0, -8589934592, 1 # encoding: [0x00,0x00,0x12,0x06 34# CHECK-LE-SAME: 0x00,0x00,0x20,0x38] 35 paddi 1, 0, -8589934592, 1 36# CHECK-BE: pli 1, -8589934592 # encoding: [0x06,0x02,0x00,0x00 37# CHECK-BE-SAME: 0x38,0x20,0x00,0x00] 38# CHECK-LE: pli 1, -8589934592 # encoding: [0x00,0x00,0x02,0x06 39# CHECK-LE-SAME: 0x00,0x00,0x20,0x38] 40 pli 1, -8589934592 41# CHECK-BE: pli 1, 8589934591 # encoding: [0x06,0x01,0xff,0xff 42# CHECK-BE-SAME: 0x38,0x20,0xff,0xff] 43# CHECK-LE: pli 1, 8589934591 # encoding: [0xff,0xff,0x01,0x06 44# CHECK-LE-SAME: 0xff,0xff,0x20,0x38] 45 pli 1, 8589934591 46# CHECK-BE: pstfs 1, -134217728(3), 0 # encoding: [0x06,0x03,0xf8,0x00, 47# CHECK-BE-SAME: 0xd0,0x23,0x00,0x00] 48# CHECK-LE: pstfs 1, -134217728(3), 0 # encoding: [0x00,0xf8,0x03,0x06 49# CHECK-LE-SAME: 0x00,0x00,0x23,0xd0] 50 pstfs 1, -134217728(3), 0 51# CHECK-BE: pstfs 1, 134217727(0), 1 # encoding: [0x06,0x10,0x07,0xff 52# CHECK-BE-SAME: 0xd0,0x20,0xff,0xff] 53# CHECK-LE: pstfs 1, 134217727(0), 1 # encoding: [0xff,0x07,0x10,0x06, 54# CECHK-LE-SAME: 0xff,0xff,0x20,0xd0] 55 pstfs 1, 134217727(0), 1 56# CHECK-BE: pstfd 1, -134217728(3), 0 # encoding: [0x06,0x03,0xf8,0x00, 57# CHECK-BE-SAME: 0xd8,0x23,0x00,0x00] 58# CHECK-LE: pstfd 1, -134217728(3), 0 # encoding: [0x00,0xf8,0x03,0x06 59# CHECK-LE-SAME: 0x00,0x00,0x23,0xd8] 60 pstfd 1, -134217728(3), 0 61# CHECK-BE: pstfd 1, 134217727(0), 1 # encoding: [0x06,0x10,0x07,0xff 62# CHECK-BE-SAME: 0xd8,0x20,0xff,0xff] 63# CHECK-LE: pstfd 1, 134217727(0), 1 # encoding: [0xff,0x07,0x10,0x06, 64# CECHK-LE-SAME: 0xff,0xff,0x20,0xd8] 65 pstfd 1, 134217727(0), 1 66# CHECK-BE: pstxssp 1, -134217728(3), 0 # encoding: [0x04,0x03,0xf8,0x00, 67# CHECK-BE-SAME: 0xbc,0x23,0x00,0x00] 68# CHECK-LE: pstxssp 1, -134217728(3), 0 # encoding: [0x00,0xf8,0x03,0x04 69# CHECK-LE-SAME: 0x00,0x00,0x23,0xbc] 70 pstxssp 1, -134217728(3), 0 71# CHECK-BE: pstxssp 1, 134217727(0), 1 # encoding: [0x04,0x10,0x07,0xff 72# CHECK-BE-SAME: 0xbc,0x20,0xff,0xff] 73# CHECK-LE: pstxssp 1, 134217727(0), 1 # encoding: [0xff,0x07,0x10,0x04, 74# CECHK-LE-SAME: 0xff,0xff,0x20,0xbc] 75 pstxssp 1, 134217727(0), 1 76# CHECK-BE: pstxsd 1, -134217728(3), 0 # encoding: [0x04,0x03,0xf8,0x00, 77# CHECK-BE-SAME: 0xb8,0x23,0x00,0x00] 78# CHECK-LE: pstxsd 1, -134217728(3), 0 # encoding: [0x00,0xf8,0x03,0x04 79# CHECK-LE-SAME: 0x00,0x00,0x23,0xb8] 80 pstxsd 1, -134217728(3), 0 81# CHECK-BE: pstxsd 1, 134217727(0), 1 # encoding: [0x04,0x10,0x07,0xff 82# CHECK-BE-SAME: 0xb8,0x20,0xff,0xff] 83# CHECK-LE: pstxsd 1, 134217727(0), 1 # encoding: [0xff,0x07,0x10,0x04, 84# CECHK-LE-SAME: 0xff,0xff,0x20,0xb8] 85 pstxsd 1, 134217727(0), 1 86# CHECK-BE: plfs 1, -8589934592(3), 0 # encoding: [0x06,0x02,0x00,0x00, 87# CHECK-BE-SAME: 0xc0,0x23,0x00,0x00] 88# CHECK-LE: plfs 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x06 89# CHECK-LE-SAME: 0x00,0x00,0x23,0xc0] 90 plfs 1, -8589934592(3), 0 91# CHECK-BE: plfs 1, 8589934591(0), 1 # encoding: [0x06,0x11,0xff,0xff 92# CHECK-BE-SAME: 0xc0,0x20,0xff,0xff] 93# CHECK-LE: plfs 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x06, 94# CECHK-LE-SAME: 0xff,0xff,0x20,0xc0] 95 plfs 1, 8589934591(0), 1 96# CHECK-BE: plfd 1, -8589934592(3), 0 # encoding: [0x06,0x02,0x00,0x00, 97# CHECK-BE-SAME: 0xc8,0x23,0x00,0x00] 98# CHECK-LE: plfd 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x06 99# CHECK-LE-SAME: 0x00,0x00,0x23,0xc8] 100 plfd 1, -8589934592(3), 0 101# CHECK-BE: plfd 1, 8589934591(0), 1 # encoding: [0x06,0x11,0xff,0xff 102# CHECK-BE-SAME: 0xc8,0x20,0xff,0xff] 103# CHECK-LE: plfd 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x06, 104# CECHK-LE-SAME: 0xff,0xff,0x20,0xc8] 105 plfd 1, 8589934591(0), 1 106# CHECK-BE: plxssp 1, -8589934592(3), 0 # encoding: [0x04,0x02,0x00,0x00, 107# CHECK-BE-SAME: 0xac,0x23,0x00,0x00] 108# CHECK-LE: plxssp 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x04 109# CHECK-LE-SAME: 0x00,0x00,0x23,0xac] 110 plxssp 1, -8589934592(3), 0 111# CHECK-BE: plxssp 1, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 112# CHECK-BE-SAME: 0xac,0x20,0xff,0xff] 113# CHECK-LE: plxssp 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04, 114# CECHK-LE-SAME: 0xff,0xff,0x20,0xac] 115 plxssp 1, 8589934591(0), 1 116# CHECK-BE: plxsd 1, -8589934592(3), 0 # encoding: [0x04,0x02,0x00,0x00, 117# CHECK-BE-SAME: 0xa8,0x23,0x00,0x00] 118# CHECK-LE: plxsd 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x04 119# CHECK-LE-SAME: 0x00,0x00,0x23,0xa8] 120 plxsd 1, -8589934592(3), 0 121# CHECK-BE: plxsd 1, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 122# CHECK-BE-SAME: 0xa8,0x20,0xff,0xff] 123# CHECK-LE: plxsd 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04, 124# CECHK-LE-SAME: 0xff,0xff,0x20,0xa8] 125 plxsd 1, 8589934591(0), 1 126# CHECK-BE: pstb 1, -8589934592(3), 0 # encoding: [0x06,0x02,0x00,0x00, 127# CHECK-BE-SAME: 0x98,0x23,0x00,0x00] 128# CHECK-LE: pstb 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x06 129# CHECK-LE-SAME: 0x00,0x00,0x23,0x98] 130 pstb 1, -8589934592(3), 0 131# CHECK-BE: pstb 1, 8589934591(0), 1 # encoding: [0x06,0x11,0xff,0xff 132# CHECK-BE-SAME: 0x98,0x20,0xff,0xff] 133# CHECK-LE: pstb 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x06, 134# CECHK-LE-SAME: 0xff,0xff,0x20,0x98] 135 pstb 1, 8589934591(0), 1 136# CHECK-BE: psth 1, -8589934592(3), 0 # encoding: [0x06,0x02,0x00,0x00, 137# CHECK-BE-SAME: 0xb0,0x23,0x00,0x00] 138# CHECK-LE: psth 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x06 139# CHECK-LE-SAME: 0x00,0x00,0x23,0xb0] 140 psth 1, -8589934592(3), 0 141# CHECK-BE: psth 1, 8589934591(0), 1 # encoding: [0x06,0x11,0xff,0xff 142# CHECK-BE-SAME: 0xb0,0x20,0xff,0xff] 143# CHECK-LE: psth 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x06, 144# CECHK-LE-SAME: 0xff,0xff,0x20,0xb0] 145 psth 1, 8589934591(0), 1 146# CHECK-BE: pstw 1, -8589934592(3), 0 # encoding: [0x06,0x02,0x00,0x00, 147# CHECK-BE-SAME: 0x90,0x23,0x00,0x00] 148# CHECK-LE: pstw 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x06 149# CHECK-LE-SAME: 0x00,0x00,0x23,0x90] 150 pstw 1, -8589934592(3), 0 151# CHECK-BE: pstw 1, 8589934591(0), 1 # encoding: [0x06,0x11,0xff,0xff 152# CHECK-BE-SAME: 0x90,0x20,0xff,0xff] 153# CHECK-LE: pstw 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x06, 154# CECHK-LE-SAME: 0xff,0xff,0x20,0x90] 155 pstw 1, 8589934591(0), 1 156# CHECK-BE: pstd 1, -8589934592(3), 0 # encoding: [0x04,0x02,0x00,0x00, 157# CHECK-BE-SAME: 0xf4,0x23,0x00,0x00] 158# CHECK-LE: pstd 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x04 159# CHECK-LE-SAME: 0x00,0x00,0x23,0xf4] 160 pstd 1, -8589934592(3), 0 161# CHECK-BE: pstd 1, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 162# CHECK-BE-SAME: 0xf4,0x20,0xff,0xff] 163# CHECK-LE: pstd 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04, 164# CECHK-LE-SAME: 0xff,0xff,0x20,0xf4] 165 pstd 1, 8589934591(0), 1 166# CHECK-BE: plbz 1, 8589934591(3), 0 # encoding: [0x06,0x01,0xff,0xff 167# CHECK-BE-SAME: 0x88,0x23,0xff,0xff] 168# CHECK-LE: plbz 1, 8589934591(3), 0 # encoding: [0xff,0xff,0x01,0x06 169# CHECK-LE-SAME: 0xff,0xff,0x23,0x88] 170 plbz 1, 8589934591(3), 0 171# CHECK-BE: plbz 1, -8589934592(0), 1 # encoding: [0x06,0x12,0x00,0x00 172# CHECK-BE-SAME: 0x88,0x20,0x00,0x00] 173# CHECK-LE: plbz 1, -8589934592(0), 1 # encoding: [0x00,0x00,0x12,0x06 174# CHECK-LE-SAME: 0x00,0x00,0x20,0x88] 175 plbz 1, -8589934592(0), 1 176# CHECK-BE: plhz 1, 8589934591(3), 0 # encoding: [0x06,0x01,0xff,0xff 177# CHECK-BE-SAME: 0xa0,0x23,0xff,0xff] 178# CHECK-LE: plhz 1, 8589934591(3), 0 # encoding: [0xff,0xff,0x01,0x06 179# CHECK-LE-SAME: 0xff,0xff,0x23,0xa0] 180 plhz 1, 8589934591(3), 0 181# CHECK-BE: plhz 1, -8589934592(0), 1 # encoding: [0x06,0x12,0x00,0x00 182# CHECK-BE-SAME: 0xa0,0x20,0x00,0x00] 183# CHECK-LE: plhz 1, -8589934592(0), 1 # encoding: [0x00,0x00,0x12,0x06 184# CHECK-LE-SAME: 0x00,0x00,0x20,0xa0] 185 plhz 1, -8589934592(0), 1 186# CHECK-BE: plha 1, 8589934591(3), 0 # encoding: [0x06,0x01,0xff,0xff 187# CHECK-BE-SAME: 0xa8,0x23,0xff,0xff] 188# CHECK-LE: plha 1, 8589934591(3), 0 # encoding: [0xff,0xff,0x01,0x06 189# CHECK-LE-SAME: 0xff,0xff,0x23,0xa8] 190 plha 1, 8589934591(3), 0 191# CHECK-BE: plha 1, -8589934592(0), 1 # encoding: [0x06,0x12,0x00,0x00 192# CHECK-BE-SAME: 0xa8,0x20,0x00,0x00] 193# CHECK-LE: plha 1, -8589934592(0), 1 # encoding: [0x00,0x00,0x12,0x06 194# CHECK-LE-SAME: 0x00,0x00,0x20,0xa8] 195 plha 1, -8589934592(0), 1 196# CHECK-BE: plwz 1, 8589934591(3), 0 # encoding: [0x06,0x01,0xff,0xff 197# CHECK-BE-SAME: 0x80,0x23,0xff,0xff] 198# CHECK-LE: plwz 1, 8589934591(3), 0 # encoding: [0xff,0xff,0x01,0x06 199# CHECK-LE-SAME: 0xff,0xff,0x23,0x80] 200 plwz 1, 8589934591(3), 0 201# CHECK-BE: plwz 1, -8589934592(0), 1 # encoding: [0x06,0x12,0x00,0x00 202# CHECK-BE-SAME: 0x80,0x20,0x00,0x00] 203# CHECK-LE: plwz 1, -8589934592(0), 1 # encoding: [0x00,0x00,0x12,0x06 204# CHECK-LE-SAME: 0x00,0x00,0x20,0x80] 205 plwz 1, -8589934592(0), 1 206# CHECK-BE: plwa 1, -8589934592(3), 0 # encoding: [0x04,0x02,0x00,0x00, 207# CHECK-BE-SAME: 0xa4,0x23,0x00,0x00] 208# CHECK-LE: plwa 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x04 209# CHECK-LE-SAME: 0x00,0x00,0x23,0xa4] 210 plwa 1, -8589934592(3), 0 211# CHECK-BE: plwa 1, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 212# CHECK-BE-SAME: 0xa4,0x20,0xff,0xff] 213# CHECK-LE: plwa 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04, 214# CECHK-LE-SAME: 0xff,0xff,0x20,0xa4] 215 plwa 1, 8589934591(0), 1 216# CHECK-BE: pld 1, -8589934592(3), 0 # encoding: [0x04,0x02,0x00,0x00, 217# CHECK-BE-SAME: 0xe4,0x23,0x00,0x00] 218# CHECK-LE: pld 1, -8589934592(3), 0 # encoding: [0x00,0x00,0x02,0x04 219# CHECK-LE-SAME: 0x00,0x00,0x23,0xe4] 220 pld 1, -8589934592(3), 0 221# CHECK-BE: pld 1, 8589934591(0), 1 # encoding: [0x04,0x11,0xff,0xff 222# CHECK-BE-SAME: 0xe4,0x20,0xff,0xff] 223# CHECK-LE: pld 1, 8589934591(0), 1 # encoding: [0xff,0xff,0x11,0x04, 224# CHECK-LE-SAME: 0xff,0xff,0x20,0xe4] 225 pld 1, 8589934591(0), 1 226# CHECK-BE: vpdepd 1, 2, 0 # encoding: [0x10,0x22,0x05,0xcd] 227# CHECK-LE: vpdepd 1, 2, 0 # encoding: [0xcd,0x05,0x22,0x10] 228 vpdepd 1, 2, 0 229# CHECK-BE: vpextd 1, 2, 0 # encoding: [0x10,0x22,0x05,0x8d] 230# CHECK-LE: vpextd 1, 2, 0 # encoding: [0x8d,0x05,0x22,0x10] 231 vpextd 1, 2, 0 232# CHECK-BE: pdepd 1, 2, 4 # encoding: [0x7c,0x41,0x21,0x38] 233# CHECK-LE: pdepd 1, 2, 4 # encoding: [0x38,0x21,0x41,0x7c] 234 pdepd 1, 2, 4 235# CHECK-BE: pextd 1, 2, 4 # encoding: [0x7c,0x41,0x21,0x78] 236# CHECK-LE: pextd 1, 2, 4 # encoding: [0x78,0x21,0x41,0x7c] 237 pextd 1, 2, 4 238# CHECK-BE: vcfuged 1, 2, 4 # encoding: [0x10,0x22,0x25,0x4d] 239# CHECK-LE: vcfuged 1, 2, 4 # encoding: [0x4d,0x25,0x22,0x10] 240 vcfuged 1, 2, 4 241# CHECK-BE: cfuged 1, 2, 4 # encoding: [0x7c,0x41,0x21,0xb8] 242# CHECK-LE: cfuged 1, 2, 4 # encoding: [0xb8,0x21,0x41,0x7c] 243 cfuged 1, 2, 4 244# CHECK-BE: vgnb 1, 2, 2 # encoding: [0x10,0x22,0x14,0xcc] 245# CHECK-LE: vgnb 1, 2, 2 # encoding: [0xcc,0x14,0x22,0x10] 246 vgnb 1, 2, 2 247# CHECK-BE: xxeval 32, 1, 2, 3, 2 # encoding: [0x05,0x00,0x00,0x02, 248# CHECK-BE-SAME: 0x88,0x01,0x10,0xd1] 249# CHECK-LE: xxeval 32, 1, 2, 3, 2 # encoding: [0x02,0x00,0x00,0x05, 250# CHECK-LE-SAME: 0xd1,0x10,0x01,0x88] 251 xxeval 32, 1, 2, 3, 2 252# CHECK-BE: vclzdm 1, 2, 3 # encoding: [0x10,0x22,0x1f,0x84] 253# CHECK-LE: vclzdm 1, 2, 3 # encoding: [0x84,0x1f,0x22,0x10] 254 vclzdm 1, 2, 3 255# CHECK-BE: vctzdm 1, 2, 3 # encoding: [0x10,0x22,0x1f,0xc4] 256# CHECK-LE: vctzdm 1, 2, 3 # encoding: [0xc4,0x1f,0x22,0x10] 257 vctzdm 1, 2, 3 258# CHECK-BE: cntlzdm 1, 3, 2 # encoding: [0x7c,0x61,0x10,0x76] 259# CHECK-LE: cntlzdm 1, 3, 2 # encoding: [0x76,0x10,0x61,0x7c] 260 cntlzdm 1, 3, 2 261# CHECK-BE: cnttzdm 1, 3, 2 # encoding: [0x7c,0x61,0x14,0x76] 262# CHECK-LE: cnttzdm 1, 3, 2 # encoding: [0x76,0x14,0x61,0x7c] 263 cnttzdm 1, 3, 2 264# CHECK-BE: xxgenpcvbm 0, 1, 2 # encoding: [0xf0,0x02,0x0f,0x28] 265# CHECK-LE: xxgenpcvbm 0, 1, 2 # encoding: [0x28,0x0f,0x02,0xf0] 266 xxgenpcvbm 0, 1, 2 267# CHECK-BE: xxgenpcvhm 0, 1, 2 # encoding: [0xf0,0x02,0x0f,0x2a] 268# CHECK-LE: xxgenpcvhm 0, 1, 2 # encoding: [0x2a,0x0f,0x02,0xf0] 269 xxgenpcvhm 0, 1, 2 270# CHECK-BE: xxgenpcvwm 0, 1, 2 # encoding: [0xf0,0x02,0x0f,0x68] 271# CHECK-LE: xxgenpcvwm 0, 1, 2 # encoding: [0x68,0x0f,0x02,0xf0] 272 xxgenpcvwm 0, 1, 2 273# CHECK-BE: xxgenpcvdm 0, 1, 2 # encoding: [0xf0,0x02,0x0f,0x6a] 274# CHECK-LE: xxgenpcvdm 0, 1, 2 # encoding: [0x6a,0x0f,0x02,0xf0] 275 xxgenpcvdm 0, 1, 2 276# CHECK-BE: vclrlb 1, 4, 3 # encoding: [0x10,0x24,0x19,0x8d] 277# CHECK-LE: vclrlb 1, 4, 3 # encoding: [0x8d,0x19,0x24,0x10] 278 vclrlb 1, 4, 3 279# CHECK-BE: vclrrb 1, 4, 3 # encoding: [0x10,0x24,0x19,0xcd] 280# CHECK-LE: vclrrb 1, 4, 3 # encoding: [0xcd,0x19,0x24,0x10] 281 vclrrb 1, 4, 3 282# Boundary conditions of 8RR_DForm_IMM32_XT6's immediates 283# CHECK-BE: xxspltiw 63, 4294901760 # encoding: [0x05,0x00,0xff,0xff, 284# CHECK-BE-SAME: 0x83,0xe7,0x00,0x00] 285# CHECK-LE: xxspltiw 63, 4294901760 # encoding: [0xff,0xff,0x00,0x05, 286# CHECK-LE-SAME: 0x00,0x00,0xe7,0x83] 287 xxspltiw 63, 4294901760 288# CHECK-BE: xxspltiw 63, 65535 # encoding: [0x05,0x00,0x00,0x00, 289# CHECK-BE-SAME: 0x83,0xe7,0xff,0xff] 290# CHECK-LE: xxspltiw 63, 65535 # encoding: [0x00,0x00,0x00,0x05, 291# CHECK-LE-SAME: 0xff,0xff,0xe7,0x83] 292 xxspltiw 63, 65535 293# CHECK-BE: xxspltiw 63, 4294967295 # encoding: [0x05,0x00,0xff,0xff, 294# CHECK-BE-SAME: 0x83,0xe7,0xff,0xff] 295# CHECK-LE: xxspltiw 63, 4294967295 # encoding: [0xff,0xff,0x00,0x05, 296# CHECK-LE-SAME: 0xff,0xff,0xe7,0x83] 297 xxspltiw 63, 4294967295 298# CHECK-BE: xxspltiw 63, -1 # encoding: [0x05,0x00,0xff,0xff, 299# CHECK-BE-SAME: 0x83,0xe7,0xff,0xff] 300# CHECK-LE: xxspltiw 63, -1 # encoding: [0xff,0xff,0x00,0x05, 301# CHECK-LE-SAME: 0xff,0xff,0xe7,0x83] 302 xxspltiw 63, -1 303# CHECK-BE: xxspltidp 63, 4294967295 # encoding: [0x05,0x00,0xff,0xff, 304# CHECK-BE-SAME: 0x83,0xe5,0xff,0xff] 305# CHECK-LE: xxspltidp 63, 4294967295 # encoding: [0xff,0xff,0x00,0x05, 306# CHECK-LE-SAME: 0xff,0xff,0xe5,0x83] 307 xxspltidp 63, 4294967295 308# Boundary conditions of 8RR_DForm_IMM32_XT6_IX's immediates 309# CHECK-BE: xxsplti32dx 63, 1, 4294901760 # encoding: [0x05,0x00,0xff,0xff, 310# CHECK-BE-SAME: 0x83,0xe3,0x00,0x00] 311# CHECK-LE: xxsplti32dx 63, 1, 4294901760 # encoding: [0xff,0xff,0x00,0x05, 312# CHECK-LE-SAME: 0x00,0x00,0xe3,0x83] 313 xxsplti32dx 63, 1, 4294901760 314# CHECK-BE: xxsplti32dx 63, 1, 65535 # encoding: [0x05,0x00,0x00,0x00, 315# CHECK-BE-SAME: 0x83,0xe3,0xff,0xff] 316# CHECK-LE: xxsplti32dx 63, 1, 65535 # encoding: [0x00,0x00,0x00,0x05, 317# CHECK-LE-SAME: 0xff,0xff,0xe3,0x83] 318 xxsplti32dx 63, 1, 65535 319# CHECK-BE: xxsplti32dx 63, 1, 4294967295 # encoding: [0x05,0x00,0xff,0xff, 320# CHECK-BE-SAME: 0x83,0xe3,0xff,0xff] 321# CHECK-LE: xxsplti32dx 63, 1, 4294967295 # encoding: [0xff,0xff,0x00,0x05, 322# CHECK-LE-SAME: 0xff,0xff,0xe3,0x83] 323 xxsplti32dx 63, 1, 4294967295 324# CHECK-BE: xxsplti32dx 63, 1, -1 # encoding: [0x05,0x00,0xff,0xff, 325# CHECK-BE-SAME: 0x83,0xe3,0xff,0xff] 326# CHECK-LE: xxsplti32dx 63, 1, -1 # encoding: [0xff,0xff,0x00,0x05, 327# CHECK-LE-SAME: 0xff,0xff,0xe3,0x83] 328 xxsplti32dx 63, 1, -1 329# CHECK-BE: xxpermx 6, 63, 21, 34, 2 # encoding: [0x05,0x00,0x00,0x02, 330# CHECK-BE-SAME: 0x88,0xdf,0xa8,0x8c] 331# CHECK-LE: xxpermx 6, 63, 21, 34, 2 # encoding: [0x02,0x00,0x00,0x05, 332# CHECK-LE-SAME: 0x8c,0xa8,0xdf,0x88] 333 xxpermx 6, 63, 21, 34, 2 334# CHECK-BE: xxblendvb 6, 63, 21, 34 # encoding: [0x05,0x00,0x00,0x00, 335# CHECK-BE-SAME: 0x84,0xdf,0xa8,0x8c] 336# CHECK-LE: xxblendvb 6, 63, 21, 34 # encoding: [0x00,0x00,0x00,0x05, 337# CHECK-LE-SAME: 0x8c,0xa8,0xdf,0x84] 338 xxblendvb 6, 63, 21, 34 339# CHECK-BE: xxblendvh 6, 63, 21, 34 # encoding: [0x05,0x00,0x00,0x00, 340# CHECK-BE-SAME: 0x84,0xdf,0xa8,0x9c] 341# CHECK-LE: xxblendvh 6, 63, 21, 34 # encoding: [0x00,0x00,0x00,0x05, 342# CHECK-LE-SAME: 0x9c,0xa8,0xdf,0x84] 343 xxblendvh 6, 63, 21, 34 344# CHECK-BE: xxblendvw 6, 63, 21, 34 # encoding: [0x05,0x00,0x00,0x00, 345# CHECK-BE-SAME: 0x84,0xdf,0xa8,0xac] 346# CHECK-LE: xxblendvw 6, 63, 21, 34 # encoding: [0x00,0x00,0x00,0x05, 347# CHECK-LE-SAME: 0xac,0xa8,0xdf,0x84] 348 xxblendvw 6, 63, 21, 34 349# CHECK-BE: xxblendvd 6, 63, 21, 34 # encoding: [0x05,0x00,0x00,0x00, 350# CHECK-BE-SAME: 0x84,0xdf,0xa8,0xbc] 351# CHECK-LE: xxblendvd 6, 63, 21, 34 # encoding: [0x00,0x00,0x00,0x05, 352# CHECK-LE-SAME: 0xbc,0xa8,0xdf,0x84] 353 xxblendvd 6, 63, 21, 34 354# CHECK-BE: vsldbi 2, 3, 4, 5 # encoding: [0x10,0x43,0x21,0x56] 355# CHECK-LE: vsldbi 2, 3, 4, 5 # encoding: [0x56,0x21,0x43,0x10] 356 vsldbi 2, 3, 4, 5 357# CHECK-BE: vsrdbi 2, 3, 4, 5 # encoding: [0x10,0x43,0x23,0x56] 358# CHECK-LE: vsrdbi 2, 3, 4, 5 # encoding: [0x56,0x23,0x43,0x10] 359 vsrdbi 2, 3, 4, 5 360# CHECK-BE: vinsw 2, 3, 12 # encoding: [0x10,0x4c,0x18,0xcf] 361# CHECK-LE: vinsw 2, 3, 12 # encoding: [0xcf,0x18,0x4c,0x10] 362 vinsw 2, 3, 12 363# CHECK-BE: vinsd 2, 3, 12 # encoding: [0x10,0x4c,0x19,0xcf] 364# CHECK-LE: vinsd 2, 3, 12 # encoding: [0xcf,0x19,0x4c,0x10] 365 vinsd 2, 3, 12 366# CHECK-BE: vinsbvlx 1, 3, 5 # encoding: [0x10,0x23,0x28,0x0f] 367# CHECK-LE: vinsbvlx 1, 3, 5 # encoding: [0x0f,0x28,0x23,0x10] 368 vinsbvlx 1, 3, 5 369# CHECK-BE: vinsbvrx 1, 3, 5 # encoding: [0x10,0x23,0x29,0x0f] 370# CHECK-LE: vinsbvrx 1, 3, 5 # encoding: [0x0f,0x29,0x23,0x10] 371 vinsbvrx 1, 3, 5 372# CHECK-BE: vinshvlx 1, 3, 5 # encoding: [0x10,0x23,0x28,0x4f] 373# CHECK-LE: vinshvlx 1, 3, 5 # encoding: [0x4f,0x28,0x23,0x10] 374 vinshvlx 1, 3, 5 375# CHECK-BE: vinshvrx 1, 3, 5 # encoding: [0x10,0x23,0x29,0x4f] 376# CHECK-LE: vinshvrx 1, 3, 5 # encoding: [0x4f,0x29,0x23,0x10] 377 vinshvrx 1, 3, 5 378# CHECK-BE: vinswvlx 1, 3, 5 # encoding: [0x10,0x23,0x28,0x8f] 379# CHECK-LE: vinswvlx 1, 3, 5 # encoding: [0x8f,0x28,0x23,0x10] 380 vinswvlx 1, 3, 5 381# CHECK-BE: vinswvrx 1, 3, 5 # encoding: [0x10,0x23,0x29,0x8f] 382# CHECK-LE: vinswvrx 1, 3, 5 # encoding: [0x8f,0x29,0x23,0x10] 383 vinswvrx 1, 3, 5 384# CHECK-BE: vinsblx 1, 2, 3 # encoding: [0x10,0x22,0x1a,0x0f] 385# CHECK-LE: vinsblx 1, 2, 3 # encoding: [0x0f,0x1a,0x22,0x10] 386 vinsblx 1, 2, 3 387# CHECK-BE: vinsbrx 1, 2, 3 # encoding: [0x10,0x22,0x1b,0x0f] 388# CHECK-LE: vinsbrx 1, 2, 3 # encoding: [0x0f,0x1b,0x22,0x10] 389 vinsbrx 1, 2, 3 390# CHECK-BE: vinshlx 1, 2, 3 # encoding: [0x10,0x22,0x1a,0x4f] 391# CHECK-LE: vinshlx 1, 2, 3 # encoding: [0x4f,0x1a,0x22,0x10] 392 vinshlx 1, 2, 3 393# CHECK-BE: vinshrx 1, 2, 3 # encoding: [0x10,0x22,0x1b,0x4f] 394# CHECK-LE: vinshrx 1, 2, 3 # encoding: [0x4f,0x1b,0x22,0x10] 395 vinshrx 1, 2, 3 396# CHECK-BE: vinswlx 1, 2, 3 # encoding: [0x10,0x22,0x1a,0x8f] 397# CHECK-LE: vinswlx 1, 2, 3 # encoding: [0x8f,0x1a,0x22,0x10] 398 vinswlx 1, 2, 3 399# CHECK-BE: vinswrx 1, 2, 3 # encoding: [0x10,0x22,0x1b,0x8f] 400# CHECK-LE: vinswrx 1, 2, 3 # encoding: [0x8f,0x1b,0x22,0x10] 401 vinswrx 1, 2, 3 402# CHECK-BE: vinsdlx 1, 2, 3 # encoding: [0x10,0x22,0x1a,0xcf] 403# CHECK-LE: vinsdlx 1, 2, 3 # encoding: [0xcf,0x1a,0x22,0x10] 404 vinsdlx 1, 2, 3 405# CHECK-BE: vinsdrx 1, 2, 3 # encoding: [0x10,0x22,0x1b,0xcf] 406# CHECK-LE: vinsdrx 1, 2, 3 # encoding: [0xcf,0x1b,0x22,0x10] 407 vinsdrx 1, 2, 3 408# CHECK-BE: lxvrbx 32, 1, 2 # encoding: [0x7c,0x01,0x10,0x1b] 409# CHECK-LE: lxvrbx 32, 1, 2 # encoding: [0x1b,0x10,0x01,0x7c] 410 lxvrbx 32, 1, 2 411# CHECK-BE: lxvrhx 33, 1, 2 # encoding: [0x7c,0x21,0x10,0x5b] 412# CHECK-LE: lxvrhx 33, 1, 2 # encoding: [0x5b,0x10,0x21,0x7c] 413 lxvrhx 33, 1, 2 414# CHECK-BE: lxvrdx 34, 1, 2 # encoding: [0x7c,0x41,0x10,0xdb] 415# CHECK-LE: lxvrdx 34, 1, 2 # encoding: [0xdb,0x10,0x41,0x7c] 416 lxvrdx 34, 1, 2 417# CHECK-BE: lxvrwx 35, 1, 2 # encoding: [0x7c,0x61,0x10,0x9b] 418# CHECK-LE: lxvrwx 35, 1, 2 # encoding: [0x9b,0x10,0x61,0x7c] 419 lxvrwx 35, 1, 2 420# CHECK-BE: stxvrbx 32, 3, 1 # encoding: [0x7c,0x03,0x09,0x1b] 421# CHECK-LE: stxvrbx 32, 3, 1 # encoding: [0x1b,0x09,0x03,0x7c] 422 stxvrbx 32, 3, 1 423# CHECK-BE: stxvrhx 33, 3, 1 # encoding: [0x7c,0x23,0x09,0x5b] 424# CHECK-LE: stxvrhx 33, 3, 1 # encoding: [0x5b,0x09,0x23,0x7c] 425 stxvrhx 33, 3, 1 426# CHECK-BE: stxvrwx 34, 3, 1 # encoding: [0x7c,0x43,0x09,0x9b] 427# CHECK-LE: stxvrwx 34, 3, 1 # encoding: [0x9b,0x09,0x43,0x7c] 428 stxvrwx 34, 3, 1 429# CHECK-BE: stxvrdx 35, 3, 1 # encoding: [0x7c,0x63,0x09,0xdb] 430# CHECK-LE: stxvrdx 35, 3, 1 # encoding: [0xdb,0x09,0x63,0x7c] 431 stxvrdx 35, 3, 1 432