1 # RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s 2 3 # CHECK: lxsdx 7, 5, 31 4 0x7c 0xe5 0xfc 0x98 5 6 # CHECK: lxsiwax 7, 5, 31 7 0x7c 0xe5 0xf8 0x98 8 9 # CHECK: lxsiwzx 7, 5, 31 10 0x7c 0xe5 0xf8 0x18 11 12 # CHECK: lxsspx 7, 5, 31 13 0x7c 0xe5 0xfc 0x18 14 15 # CHECK: lxvd2x 7, 5, 31 16 0x7c 0xe5 0xfe 0x98 17 18 # CHECK: lxvdsx 7, 5, 31 19 0x7c 0xe5 0xfa 0x98 20 21 # CHECK: lxvw4x 7, 5, 31 22 0x7c 0xe5 0xfe 0x18 23 24 # CHECK: stxsdx 8, 5, 31 25 0x7d 0x05 0xfd 0x98 26 27 # CHECK: stxsiwx 8, 5, 31 28 0x7d 0x05 0xf9 0x18 29 30 # CHECK: stxsspx 8, 5, 31 31 0x7d 0x05 0xfd 0x18 32 33 # CHECK: stxvd2x 8, 5, 31 34 0x7d 0x05 0xff 0x98 35 36 # CHECK: stxvw4x 8, 5, 31 37 0x7d 0x05 0xff 0x18 38 39 # CHECK: xsabsdp 7, 27 40 0xf0 0xe0 0xdd 0x64 41 42 # CHECK: xsaddsp 7, 63, 27 43 0xf0 0xff 0xd8 0x04 44 45 # CHECK: xsadddp 7, 63, 27 46 0xf0 0xff 0xd9 0x04 47 48 # CHECK: xscmpodp 6, 63, 27 49 0xf3 0x1f 0xd9 0x5c 50 51 # CHECK: xscmpudp 6, 63, 27 52 0xf3 0x1f 0xd9 0x1c 53 54 # CHECK: xscpsgndp 7, 63, 27 55 0xf0 0xff 0xdd 0x84 56 57 # CHECK: xscvdpsp 7, 27 58 0xf0 0xe0 0xdc 0x24 59 60 # CHECK: xscvdpspn 7, 27 61 0xf0 0xe0 0xdc 0x2c 62 63 # CHECK: xscvdpsxds 7, 27 64 0xf0 0xe0 0xdd 0x60 65 66 # CHECK: xscvdpsxws 7, 27 67 0xf0 0xe0 0xd9 0x60 68 69 # CHECK: xscvdpuxds 7, 27 70 0xf0 0xe0 0xdd 0x20 71 72 # CHECK: xscvdpuxws 7, 27 73 0xf0 0xe0 0xd9 0x20 74 75 # CHECK: xscvspdp 7, 27 76 0xf0 0xe0 0xdd 0x24 77 78 # CHECK: xscvspdpn 7, 27 79 0xf0 0xe0 0xdd 0x2c 80 81 # CHECK: xscvsxdsp 7, 27 82 0xf0 0xe0 0xdc 0xe0 83 84 # CHECK: xscvsxddp 7, 27 85 0xf0 0xe0 0xdd 0xe0 86 87 # CHECK: xscvuxdsp 7, 27 88 0xf0 0xe0 0xdc 0xa0 89 90 # CHECK: xscvuxddp 7, 27 91 0xf0 0xe0 0xdd 0xa0 92 93 # CHECK: xsdivsp 7, 63, 27 94 0xf0 0xff 0xd8 0xc4 95 96 # CHECK: xsdivdp 7, 63, 27 97 0xf0 0xff 0xd9 0xc4 98 99 # CHECK: xsmaddadp 7, 63, 27 100 0xf0 0xff 0xd9 0x0c 101 102 # CHECK: xsmaddmdp 7, 63, 27 103 0xf0 0xff 0xd9 0x4c 104 105 # CHECK: xsmaddasp 7, 63, 27 106 0xf0 0xff 0xd8 0x0c 107 108 # CHECK: xsmaddmsp 7, 63, 27 109 0xf0 0xff 0xd8 0x4c 110 111 # CHECK: xsmaxdp 7, 63, 27 112 0xf0 0xff 0xdd 0x04 113 114 # CHECK: xsmindp 7, 63, 27 115 0xf0 0xff 0xdd 0x44 116 117 # CHECK: xsmsubadp 7, 63, 27 118 0xf0 0xff 0xd9 0x8c 119 120 # CHECK: xsmsubmdp 7, 63, 27 121 0xf0 0xff 0xd9 0xcc 122 123 # CHECK: xsmsubasp 7, 63, 27 124 0xf0 0xff 0xd8 0x8c 125 126 # CHECK: xsmsubmsp 7, 63, 27 127 0xf0 0xff 0xd8 0xcc 128 129 # CHECK: xsmulsp 7, 63, 27 130 0xf0 0xff 0xd8 0x84 131 132 # CHECK: xsmuldp 7, 63, 27 133 0xf0 0xff 0xd9 0x84 134 135 # CHECK: xsnabsdp 7, 27 136 0xf0 0xe0 0xdd 0xa4 137 138 # CHECK: xsnegdp 7, 27 139 0xf0 0xe0 0xdd 0xe4 140 141 # CHECK: xsnmaddadp 7, 63, 27 142 0xf0 0xff 0xdd 0x0c 143 144 # CHECK: xsnmaddmdp 7, 63, 27 145 0xf0 0xff 0xdd 0x4c 146 147 # CHECK: xsnmsubadp 7, 63, 27 148 0xf0 0xff 0xdd 0x8c 149 150 # CHECK: xsnmsubmdp 7, 63, 27 151 0xf0 0xff 0xdd 0xcc 152 153 # CHECK: xsnmaddasp 7, 63, 27 154 0xf0 0xff 0xdc 0x0c 155 156 # CHECK: xsnmaddmsp 7, 63, 27 157 0xf0 0xff 0xdc 0x4c 158 159 # CHECK: xsnmsubasp 7, 63, 27 160 0xf0 0xff 0xdc 0x8c 161 162 # CHECK: xsnmsubmsp 7, 63, 27 163 0xf0 0xff 0xdc 0xcc 164 165 # CHECK: xsrdpi 7, 27 166 0xf0 0xe0 0xd9 0x24 167 168 # CHECK: xsrdpic 7, 27 169 0xf0 0xe0 0xd9 0xac 170 171 # CHECK: xsrdpim 7, 27 172 0xf0 0xe0 0xd9 0xe4 173 174 # CHECK: xsrdpip 7, 27 175 0xf0 0xe0 0xd9 0xa4 176 177 # CHECK: xsrdpiz 7, 27 178 0xf0 0xe0 0xd9 0x64 179 180 # CHECK: xsresp 7, 27 181 0xf0 0xe0 0xd8 0x68 182 183 # CHECK: xsredp 7, 27 184 0xf0 0xe0 0xd9 0x68 185 186 # CHECK: xsrsqrtesp 7, 27 187 0xf0 0xe0 0xd8 0x28 188 189 # CHECK: xsrsqrtedp 7, 27 190 0xf0 0xe0 0xd9 0x28 191 192 # CHECK: xssqrtsp 7, 27 193 0xf0 0xe0 0xd8 0x2c 194 195 # CHECK: xssqrtdp 7, 27 196 0xf0 0xe0 0xd9 0x2c 197 198 # CHECK: xssubsp 7, 63, 27 199 0xf0 0xff 0xd8 0x44 200 201 # CHECK: xssubdp 7, 63, 27 202 0xf0 0xff 0xd9 0x44 203 204 # CHECK: xstdivdp 6, 63, 27 205 0xf3 0x1f 0xd9 0xec 206 207 # CHECK: xstsqrtdp 6, 27 208 0xf3 0x00 0xd9 0xa8 209 210 # CHECK: xvabsdp 7, 27 211 0xf0 0xe0 0xdf 0x64 212 213 # CHECK: xvabssp 7, 27 214 0xf0 0xe0 0xde 0x64 215 216 # CHECK: xvadddp 7, 63, 27 217 0xf0 0xff 0xdb 0x04 218 219 # CHECK: xvaddsp 7, 63, 27 220 0xf0 0xff 0xda 0x04 221 222 # CHECK: xvcmpeqdp 7, 63, 27 223 0xf0 0xff 0xdb 0x1c 224 225 # CHECK: xvcmpeqdp. 7, 63, 27 226 0xf0 0xff 0xdf 0x1c 227 228 # CHECK: xvcmpeqsp 7, 63, 27 229 0xf0 0xff 0xda 0x1c 230 231 # CHECK: xvcmpeqsp. 7, 63, 27 232 0xf0 0xff 0xde 0x1c 233 234 # CHECK: xvcmpgedp 7, 63, 27 235 0xf0 0xff 0xdb 0x9c 236 237 # CHECK: xvcmpgedp. 7, 63, 27 238 0xf0 0xff 0xdf 0x9c 239 240 # CHECK: xvcmpgesp 7, 63, 27 241 0xf0 0xff 0xda 0x9c 242 243 # CHECK: xvcmpgesp. 7, 63, 27 244 0xf0 0xff 0xde 0x9c 245 246 # CHECK: xvcmpgtdp 7, 63, 27 247 0xf0 0xff 0xdb 0x5c 248 249 # CHECK: xvcmpgtdp. 7, 63, 27 250 0xf0 0xff 0xdf 0x5c 251 252 # CHECK: xvcmpgtsp 7, 63, 27 253 0xf0 0xff 0xda 0x5c 254 255 # CHECK: xvcmpgtsp. 7, 63, 27 256 0xf0 0xff 0xde 0x5c 257 258 # CHECK: xvcpsgndp 7, 63, 27 259 0xf0 0xff 0xdf 0x84 260 261 # CHECK: xvcpsgnsp 7, 63, 27 262 0xf0 0xff 0xde 0x84 263 264 # CHECK: xvcvdpsp 7, 27 265 0xf0 0xe0 0xde 0x24 266 267 # CHECK: xvcvdpsxds 7, 27 268 0xf0 0xe0 0xdf 0x60 269 270 # CHECK: xvcvdpsxws 7, 27 271 0xf0 0xe0 0xdb 0x60 272 273 # CHECK: xvcvdpuxds 7, 27 274 0xf0 0xe0 0xdf 0x20 275 276 # CHECK: xvcvdpuxws 7, 27 277 0xf0 0xe0 0xdb 0x20 278 279 # CHECK: xvcvspdp 7, 27 280 0xf0 0xe0 0xdf 0x24 281 282 # CHECK: xvcvspsxds 7, 27 283 0xf0 0xe0 0xde 0x60 284 285 # CHECK: xvcvspsxws 7, 27 286 0xf0 0xe0 0xda 0x60 287 288 # CHECK: xvcvspuxds 7, 27 289 0xf0 0xe0 0xde 0x20 290 291 # CHECK: xvcvspuxws 7, 27 292 0xf0 0xe0 0xda 0x20 293 294 # CHECK: xvcvsxddp 7, 27 295 0xf0 0xe0 0xdf 0xe0 296 297 # CHECK: xvcvsxdsp 7, 27 298 0xf0 0xe0 0xde 0xe0 299 300 # CHECK: xvcvsxwdp 7, 27 301 0xf0 0xe0 0xdb 0xe0 302 303 # CHECK: xvcvsxwsp 7, 27 304 0xf0 0xe0 0xda 0xe0 305 306 # CHECK: xvcvuxddp 7, 27 307 0xf0 0xe0 0xdf 0xa0 308 309 # CHECK: xvcvuxdsp 7, 27 310 0xf0 0xe0 0xde 0xa0 311 312 # CHECK: xvcvuxwdp 7, 27 313 0xf0 0xe0 0xdb 0xa0 314 315 # CHECK: xvcvuxwsp 7, 27 316 0xf0 0xe0 0xda 0xa0 317 318 # CHECK: xvdivdp 7, 63, 27 319 0xf0 0xff 0xdb 0xc4 320 321 # CHECK: xvdivsp 7, 63, 27 322 0xf0 0xff 0xda 0xc4 323 324 # CHECK: xvmaddadp 7, 63, 27 325 0xf0 0xff 0xdb 0x0c 326 327 # CHECK: xvmaddasp 7, 63, 27 328 0xf0 0xff 0xda 0x0c 329 330 # CHECK: xvmaddmdp 7, 63, 27 331 0xf0 0xff 0xdb 0x4c 332 333 # CHECK: xvmaddmsp 7, 63, 27 334 0xf0 0xff 0xda 0x4c 335 336 # CHECK: xvmaxdp 7, 63, 27 337 0xf0 0xff 0xdf 0x04 338 339 # CHECK: xvmaxsp 7, 63, 27 340 0xf0 0xff 0xde 0x04 341 342 # CHECK: xvmindp 7, 63, 27 343 0xf0 0xff 0xdf 0x44 344 345 # CHECK: xvminsp 7, 63, 27 346 0xf0 0xff 0xde 0x44 347 348 # CHECK: xvmovdp 7, 63 349 0xf0 0xff 0xff 0x86 350 351 # CHECK: xvmovsp 7, 63 352 0xf0 0xff 0xfe 0x86 353 354 # CHECK: xvmsubadp 7, 63, 27 355 0xf0 0xff 0xdb 0x8c 356 357 # CHECK: xvmsubasp 7, 63, 27 358 0xf0 0xff 0xda 0x8c 359 360 # CHECK: xvmsubmdp 7, 63, 27 361 0xf0 0xff 0xdb 0xcc 362 363 # CHECK: xvmsubmsp 7, 63, 27 364 0xf0 0xff 0xda 0xcc 365 366 # CHECK: xvmuldp 7, 63, 27 367 0xf0 0xff 0xdb 0x84 368 369 # CHECK: xvmulsp 7, 63, 27 370 0xf0 0xff 0xda 0x84 371 372 # CHECK: xvnabsdp 7, 27 373 0xf0 0xe0 0xdf 0xa4 374 375 # CHECK: xvnabssp 7, 27 376 0xf0 0xe0 0xde 0xa4 377 378 # CHECK: xvnegdp 7, 27 379 0xf0 0xe0 0xdf 0xe4 380 381 # CHECK: xvnegsp 7, 27 382 0xf0 0xe0 0xde 0xe4 383 384 # CHECK: xvnmaddadp 7, 63, 27 385 0xf0 0xff 0xdf 0x0c 386 387 # CHECK: xvnmaddasp 7, 63, 27 388 0xf0 0xff 0xde 0x0c 389 390 # CHECK: xvnmaddmdp 7, 63, 27 391 0xf0 0xff 0xdf 0x4c 392 393 # CHECK: xvnmaddmsp 7, 63, 27 394 0xf0 0xff 0xde 0x4c 395 396 # CHECK: xvnmsubadp 7, 63, 27 397 0xf0 0xff 0xdf 0x8c 398 399 # CHECK: xvnmsubasp 7, 63, 27 400 0xf0 0xff 0xde 0x8c 401 402 # CHECK: xvnmsubmdp 7, 63, 27 403 0xf0 0xff 0xdf 0xcc 404 405 # CHECK: xvnmsubmsp 7, 63, 27 406 0xf0 0xff 0xde 0xcc 407 408 # CHECK: xvrdpi 7, 27 409 0xf0 0xe0 0xdb 0x24 410 411 # CHECK: xvrdpic 7, 27 412 0xf0 0xe0 0xdb 0xac 413 414 # CHECK: xvrdpim 7, 27 415 0xf0 0xe0 0xdb 0xe4 416 417 # CHECK: xvrdpip 7, 27 418 0xf0 0xe0 0xdb 0xa4 419 420 # CHECK: xvrdpiz 7, 27 421 0xf0 0xe0 0xdb 0x64 422 423 # CHECK: xvredp 7, 27 424 0xf0 0xe0 0xdb 0x68 425 426 # CHECK: xvresp 7, 27 427 0xf0 0xe0 0xda 0x68 428 429 # CHECK: xvrspi 7, 27 430 0xf0 0xe0 0xda 0x24 431 432 # CHECK: xvrspic 7, 27 433 0xf0 0xe0 0xda 0xac 434 435 # CHECK: xvrspim 7, 27 436 0xf0 0xe0 0xda 0xe4 437 438 # CHECK: xvrspip 7, 27 439 0xf0 0xe0 0xda 0xa4 440 441 # CHECK: xvrspiz 7, 27 442 0xf0 0xe0 0xda 0x64 443 444 # CHECK: xvrsqrtedp 7, 27 445 0xf0 0xe0 0xdb 0x28 446 447 # CHECK: xvrsqrtesp 7, 27 448 0xf0 0xe0 0xda 0x28 449 450 # CHECK: xvsqrtdp 7, 27 451 0xf0 0xe0 0xdb 0x2c 452 453 # CHECK: xvsqrtsp 7, 27 454 0xf0 0xe0 0xda 0x2c 455 456 # CHECK: xvsubdp 7, 63, 27 457 0xf0 0xff 0xdb 0x44 458 459 # CHECK: xvsubsp 7, 63, 27 460 0xf0 0xff 0xda 0x44 461 462 # CHECK: xvtdivdp 6, 63, 27 463 0xf3 0x1f 0xdb 0xec 464 465 # CHECK: xvtdivsp 6, 63, 27 466 0xf3 0x1f 0xda 0xec 467 468 # CHECK: xvtsqrtdp 6, 27 469 0xf3 0x00 0xdb 0xa8 470 471 # CHECK: xvtsqrtsp 6, 27 472 0xf3 0x00 0xda 0xa8 473 474 # CHECK: xxland 7, 63, 27 475 0xf0 0xff 0xdc 0x14 476 477 # CHECK: xxleqv 7, 63, 27 478 0xf0 0xff 0xdd 0xd4 479 480 # CHECK: xxlnand 7, 63, 27 481 0xf0 0xff 0xdd 0x94 482 483 # CHECK: xxlorc 7, 63, 27 484 0xf0 0xff 0xdd 0x54 485 486 # CHECK: xxlandc 7, 63, 27 487 0xf0 0xff 0xdc 0x54 488 489 # CHECK: xxlnor 7, 63, 27 490 0xf0 0xff 0xdd 0x14 491 492 # CHECK: xxlor 7, 63, 27 493 0xf0 0xff 0xdc 0x94 494 495 # CHECK: xxlxor 7, 63, 27 496 0xf0 0xff 0xdc 0xd4 497 498 # CHECK: xxmrghd 7, 63, 27 499 0xf0 0xff 0xd8 0x54 500 501 # CHECK: xxmrghw 7, 63, 27 502 0xf0 0xff 0xd8 0x94 503 504 # CHECK: xxmrgld 7, 63, 27 505 0xf0 0xff 0xdb 0x54 506 507 # CHECK: xxmrglw 7, 63, 27 508 0xf0 0xff 0xd9 0x94 509 510 # CHECK: xxpermdi 7, 63, 27, 2 511 0xf0 0xff 0xda 0x54 512 513 # CHECK: xxsel 7, 63, 27, 14 514 0xf0 0xff 0xdb 0xb4 515 516 # CHECK: xxsldwi 7, 63, 27, 1 517 0xf0 0xff 0xd9 0x14 518 519 # CHECK: xxspltd 7, 63, 1 520 0xf0 0xff 0xfb 0x56 521 522 # CHECK: xxspltw 7, 27, 3 523 0xf0 0xe3 0xda 0x90 524 525 # CHECK: xxswapd 7, 63 526 0xf0 0xff 0xfa 0x56 527 528 # CHECK: mfvsrd 3, 0 529 0x7c 0x03 0x00 0x66 530 531 # CHECK: mfvsrwz 5, 0 532 0x7c 0x05 0x00 0xe6 533 534 # CHECK: mtvsrd 0, 3 535 0x7c 0x03 0x01 0x66 536 537 # CHECK: mtvsrwa 0, 3 538 0x7c 0x03 0x01 0xa6 539 540 # CHECK: mtvsrwz 0, 3 541 0x7c 0x03 0x01 0xe6 542