• Home
  • Raw
  • Download

Lines Matching refs:rA

282 def OR4To8  : XForm_6<31, 444, (outs G8RC:$rA), (ins GPRC:$rS, GPRC:$rB),
283 "or $rA, $rS, $rB", IntGeneral,
285 def OR8To4 : XForm_6<31, 444, (outs GPRC:$rA), (ins G8RC:$rS, G8RC:$rB),
286 "or $rA, $rS, $rB", IntGeneral,
297 def NAND8: XForm_6<31, 476, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
298 "nand $rA, $rS, $rB", IntGeneral,
299 [(set G8RC:$rA, (not (and G8RC:$rS, G8RC:$rB)))]>;
300 def AND8 : XForm_6<31, 28, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
301 "and $rA, $rS, $rB", IntGeneral,
302 [(set G8RC:$rA, (and G8RC:$rS, G8RC:$rB))]>;
303 def ANDC8: XForm_6<31, 60, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
304 "andc $rA, $rS, $rB", IntGeneral,
305 [(set G8RC:$rA, (and G8RC:$rS, (not G8RC:$rB)))]>;
306 def OR8 : XForm_6<31, 444, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
307 "or $rA, $rS, $rB", IntGeneral,
308 [(set G8RC:$rA, (or G8RC:$rS, G8RC:$rB))]>;
309 def NOR8 : XForm_6<31, 124, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
310 "nor $rA, $rS, $rB", IntGeneral,
311 [(set G8RC:$rA, (not (or G8RC:$rS, G8RC:$rB)))]>;
312 def ORC8 : XForm_6<31, 412, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
313 "orc $rA, $rS, $rB", IntGeneral,
314 [(set G8RC:$rA, (or G8RC:$rS, (not G8RC:$rB)))]>;
315 def EQV8 : XForm_6<31, 284, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
316 "eqv $rA, $rS, $rB", IntGeneral,
317 [(set G8RC:$rA, (not (xor G8RC:$rS, G8RC:$rB)))]>;
318 def XOR8 : XForm_6<31, 316, (outs G8RC:$rA), (ins G8RC:$rS, G8RC:$rB),
319 "xor $rA, $rS, $rB", IntGeneral,
320 [(set G8RC:$rA, (xor G8RC:$rS, G8RC:$rB))]>;
344 def ADD8 : XOForm_1<31, 266, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
345 "add $rT, $rA, $rB", IntGeneral,
346 [(set G8RC:$rT, (add G8RC:$rA, G8RC:$rB))]>;
349 def ADDC8 : XOForm_1<31, 10, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
350 "addc $rT, $rA, $rB", IntGeneral,
351 [(set G8RC:$rT, (addc G8RC:$rA, G8RC:$rB))]>,
353 def ADDIC8 : DForm_2<12, (outs G8RC:$rD), (ins G8RC:$rA, s16imm64:$imm),
354 "addic $rD, $rA, $imm", IntGeneral,
355 [(set G8RC:$rD, (addc G8RC:$rA, immSExt16:$imm))]>;
357 def ADDI8 : DForm_2<14, (outs G8RC:$rD), (ins G8RC:$rA, s16imm64:$imm),
358 "addi $rD, $rA, $imm", IntGeneral,
359 [(set G8RC:$rD, (add G8RC:$rA, immSExt16:$imm))]>;
360 def ADDIS8 : DForm_2<15, (outs G8RC:$rD), (ins G8RC:$rA, symbolHi64:$imm),
361 "addis $rD, $rA, $imm", IntGeneral,
362 [(set G8RC:$rD, (add G8RC:$rA, imm16ShiftedSExt:$imm))]>;
365 def SUBFIC8: DForm_2< 8, (outs G8RC:$rD), (ins G8RC:$rA, s16imm64:$imm),
366 "subfic $rD, $rA, $imm", IntGeneral,
367 [(set G8RC:$rD, (subc immSExt16:$imm, G8RC:$rA))]>;
368 def SUBFC8 : XOForm_1<31, 8, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
369 "subfc $rT, $rA, $rB", IntGeneral,
370 [(set G8RC:$rT, (subc G8RC:$rB, G8RC:$rA))]>,
373 def SUBF8 : XOForm_1<31, 40, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
374 "subf $rT, $rA, $rB", IntGeneral,
375 [(set G8RC:$rT, (sub G8RC:$rB, G8RC:$rA))]>;
376 def NEG8 : XOForm_3<31, 104, 0, (outs G8RC:$rT), (ins G8RC:$rA),
377 "neg $rT, $rA", IntGeneral,
378 [(set G8RC:$rT, (ineg G8RC:$rA))]>;
380 def ADDE8 : XOForm_1<31, 138, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
381 "adde $rT, $rA, $rB", IntGeneral,
382 [(set G8RC:$rT, (adde G8RC:$rA, G8RC:$rB))]>;
383 def ADDME8 : XOForm_3<31, 234, 0, (outs G8RC:$rT), (ins G8RC:$rA),
384 "addme $rT, $rA", IntGeneral,
385 [(set G8RC:$rT, (adde G8RC:$rA, -1))]>;
386 def ADDZE8 : XOForm_3<31, 202, 0, (outs G8RC:$rT), (ins G8RC:$rA),
387 "addze $rT, $rA", IntGeneral,
388 [(set G8RC:$rT, (adde G8RC:$rA, 0))]>;
389 def SUBFE8 : XOForm_1<31, 136, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
390 "subfe $rT, $rA, $rB", IntGeneral,
391 [(set G8RC:$rT, (sube G8RC:$rB, G8RC:$rA))]>;
392 def SUBFME8 : XOForm_3<31, 232, 0, (outs G8RC:$rT), (ins G8RC:$rA),
393 "subfme $rT, $rA", IntGeneral,
394 [(set G8RC:$rT, (sube -1, G8RC:$rA))]>;
395 def SUBFZE8 : XOForm_3<31, 200, 0, (outs G8RC:$rT), (ins G8RC:$rA),
396 "subfze $rT, $rA", IntGeneral,
397 [(set G8RC:$rT, (sube 0, G8RC:$rA))]>;
401 def MULHD : XOForm_1<31, 73, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
402 "mulhd $rT, $rA, $rB", IntMulHW,
403 [(set G8RC:$rT, (mulhs G8RC:$rA, G8RC:$rB))]>;
404 def MULHDU : XOForm_1<31, 9, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
405 "mulhdu $rT, $rA, $rB", IntMulHWU,
406 [(set G8RC:$rT, (mulhu G8RC:$rA, G8RC:$rB))]>;
408 def CMPD : XForm_16_ext<31, 0, (outs CRRC:$crD), (ins G8RC:$rA, G8RC:$rB),
409 "cmpd $crD, $rA, $rB", IntCompare>, isPPC64;
410 def CMPLD : XForm_16_ext<31, 32, (outs CRRC:$crD), (ins G8RC:$rA, G8RC:$rB),
411 "cmpld $crD, $rA, $rB", IntCompare>, isPPC64;
412 def CMPDI : DForm_5_ext<11, (outs CRRC:$crD), (ins G8RC:$rA, s16imm:$imm),
413 "cmpdi $crD, $rA, $imm", IntCompare>, isPPC64;
417 def SLD : XForm_6<31, 27, (outs G8RC:$rA), (ins G8RC:$rS, GPRC:$rB),
418 "sld $rA, $rS, $rB", IntRotateD,
419 [(set G8RC:$rA, (PPCshl G8RC:$rS, GPRC:$rB))]>, isPPC64;
420 def SRD : XForm_6<31, 539, (outs G8RC:$rA), (ins G8RC:$rS, GPRC:$rB),
421 "srd $rA, $rS, $rB", IntRotateD,
422 [(set G8RC:$rA, (PPCsrl G8RC:$rS, GPRC:$rB))]>, isPPC64;
424 def SRAD : XForm_6<31, 794, (outs G8RC:$rA), (ins G8RC:$rS, GPRC:$rB),
425 "srad $rA, $rS, $rB", IntRotateD,
426 [(set G8RC:$rA, (PPCsra G8RC:$rS, GPRC:$rB))]>, isPPC64;
429 def EXTSB8 : XForm_11<31, 954, (outs G8RC:$rA), (ins G8RC:$rS),
430 "extsb $rA, $rS", IntGeneral,
431 [(set G8RC:$rA, (sext_inreg G8RC:$rS, i8))]>;
432 def EXTSH8 : XForm_11<31, 922, (outs G8RC:$rA), (ins G8RC:$rS),
433 "extsh $rA, $rS", IntGeneral,
434 [(set G8RC:$rA, (sext_inreg G8RC:$rS, i16))]>;
436 def EXTSW : XForm_11<31, 986, (outs G8RC:$rA), (ins G8RC:$rS),
437 "extsw $rA, $rS", IntGeneral,
438 [(set G8RC:$rA, (sext_inreg G8RC:$rS, i32))]>, isPPC64;
440 def EXTSW_32 : XForm_11<31, 986, (outs GPRC:$rA), (ins GPRC:$rS),
441 "extsw $rA, $rS", IntGeneral,
442 [(set GPRC:$rA, (PPCextsw_32 GPRC:$rS))]>, isPPC64;
443 def EXTSW_32_64 : XForm_11<31, 986, (outs G8RC:$rA), (ins GPRC:$rS),
444 "extsw $rA, $rS", IntGeneral,
445 [(set G8RC:$rA, (sext GPRC:$rS))]>, isPPC64;
448 def SRADI : XSForm_1<31, 413, (outs G8RC:$rA), (ins G8RC:$rS, u6imm:$SH),
449 "sradi $rA, $rS, $SH", IntRotateD,
450 [(set G8RC:$rA, (sra G8RC:$rS, (i32 imm:$SH)))]>, isPPC64;
452 def CNTLZD : XForm_11<31, 58, (outs G8RC:$rA), (ins G8RC:$rS),
453 "cntlzd $rA, $rS", IntGeneral,
454 [(set G8RC:$rA, (ctlz G8RC:$rS))]>;
456 def DIVD : XOForm_1<31, 489, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
457 "divd $rT, $rA, $rB", IntDivD,
458 [(set G8RC:$rT, (sdiv G8RC:$rA, G8RC:$rB))]>, isPPC64,
460 def DIVDU : XOForm_1<31, 457, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
461 "divdu $rT, $rA, $rB", IntDivD,
462 [(set G8RC:$rT, (udiv G8RC:$rA, G8RC:$rB))]>, isPPC64,
464 def MULLD : XOForm_1<31, 233, 0, (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB),
465 "mulld $rT, $rA, $rB", IntMulHD,
466 [(set G8RC:$rT, (mul G8RC:$rA, G8RC:$rB))]>, isPPC64;
471 (outs G8RC:$rA), (ins G8RC:$rSi, G8RC:$rS, u6imm:$SH, u6imm:$MB),
472 "rldimi $rA, $rS, $SH, $MB", IntRotateD,
473 []>, isPPC64, RegConstraint<"$rSi = $rA">,
479 (outs G8RC:$rA), (ins G8RC:$rS, GPRC:$rB, u6imm:$MB),
480 "rldcl $rA, $rS, $rB, $MB", IntRotateD,
483 (outs G8RC:$rA), (ins G8RC:$rS, u6imm:$SH, u6imm:$MB),
484 "rldicl $rA, $rS, $SH, $MB", IntRotateD,
487 (outs G8RC:$rA), (ins G8RC:$rS, u6imm:$SH, u6imm:$ME),
488 "rldicr $rA, $rS, $SH, $ME", IntRotateD,
492 (outs G8RC:$rA), (ins G8RC:$rS, u5imm:$SH, u5imm:$MB, u5imm:$ME),
493 "rlwinm $rA, $rS, $SH, $MB, $ME", IntGeneral,
526 ptr_rc:$rA),
527 "lhau $rD, $disp($rA)", LdStLoad,
528 []>, RegConstraint<"$rA = $ea_result">,