Lines Matching refs:rA
820 def STWUX : XForm_8<31, 183, (outs), (ins GPRC:$rS, GPRC:$rA, GPRC:$rB),
821 "stwux $rS, $rA, $rB", LdStStore,
854 def ADDI : DForm_2<14, (outs GPRC:$rD), (ins GPRC:$rA, s16imm:$imm),
855 "addi $rD, $rA, $imm", IntGeneral,
856 [(set GPRC:$rD, (add GPRC:$rA, immSExt16:$imm))]>;
858 def ADDIC : DForm_2<12, (outs GPRC:$rD), (ins GPRC:$rA, s16imm:$imm),
859 "addic $rD, $rA, $imm", IntGeneral,
860 [(set GPRC:$rD, (addc GPRC:$rA, immSExt16:$imm))]>,
862 def ADDICo : DForm_2<13, (outs GPRC:$rD), (ins GPRC:$rA, s16imm:$imm),
863 "addic. $rD, $rA, $imm", IntGeneral,
866 def ADDIS : DForm_2<15, (outs GPRC:$rD), (ins GPRC:$rA, symbolHi:$imm),
867 "addis $rD, $rA, $imm", IntGeneral,
868 [(set GPRC:$rD, (add GPRC:$rA, imm16ShiftedSExt:$imm))]>;
869 def LA : DForm_2<14, (outs GPRC:$rD), (ins GPRC:$rA, symbolLo:$sym),
870 "la $rD, $sym($rA)", IntGeneral,
871 [(set GPRC:$rD, (add GPRC:$rA,
873 def MULLI : DForm_2< 7, (outs GPRC:$rD), (ins GPRC:$rA, s16imm:$imm),
874 "mulli $rD, $rA, $imm", IntMulLI,
875 [(set GPRC:$rD, (mul GPRC:$rA, immSExt16:$imm))]>;
877 def SUBFIC : DForm_2< 8, (outs GPRC:$rD), (ins GPRC:$rA, s16imm:$imm),
878 "subfic $rD, $rA, $imm", IntGeneral,
879 [(set GPRC:$rD, (subc immSExt16:$imm, GPRC:$rA))]>;
915 def CMPWI : DForm_5_ext<11, (outs CRRC:$crD), (ins GPRC:$rA, s16imm:$imm),
916 "cmpwi $crD, $rA, $imm", IntCompare>;
923 def NAND : XForm_6<31, 476, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
924 "nand $rA, $rS, $rB", IntGeneral,
925 [(set GPRC:$rA, (not (and GPRC:$rS, GPRC:$rB)))]>;
926 def AND : XForm_6<31, 28, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
927 "and $rA, $rS, $rB", IntGeneral,
928 [(set GPRC:$rA, (and GPRC:$rS, GPRC:$rB))]>;
929 def ANDC : XForm_6<31, 60, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
930 "andc $rA, $rS, $rB", IntGeneral,
931 [(set GPRC:$rA, (and GPRC:$rS, (not GPRC:$rB)))]>;
932 def OR : XForm_6<31, 444, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
933 "or $rA, $rS, $rB", IntGeneral,
934 [(set GPRC:$rA, (or GPRC:$rS, GPRC:$rB))]>;
935 def NOR : XForm_6<31, 124, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
936 "nor $rA, $rS, $rB", IntGeneral,
937 [(set GPRC:$rA, (not (or GPRC:$rS, GPRC:$rB)))]>;
938 def ORC : XForm_6<31, 412, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
939 "orc $rA, $rS, $rB", IntGeneral,
940 [(set GPRC:$rA, (or GPRC:$rS, (not GPRC:$rB)))]>;
941 def EQV : XForm_6<31, 284, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
942 "eqv $rA, $rS, $rB", IntGeneral,
943 [(set GPRC:$rA, (not (xor GPRC:$rS, GPRC:$rB)))]>;
944 def XOR : XForm_6<31, 316, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
945 "xor $rA, $rS, $rB", IntGeneral,
946 [(set GPRC:$rA, (xor GPRC:$rS, GPRC:$rB))]>;
947 def SLW : XForm_6<31, 24, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
948 "slw $rA, $rS, $rB", IntGeneral,
949 [(set GPRC:$rA, (PPCshl GPRC:$rS, GPRC:$rB))]>;
950 def SRW : XForm_6<31, 536, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
951 "srw $rA, $rS, $rB", IntGeneral,
952 [(set GPRC:$rA, (PPCsrl GPRC:$rS, GPRC:$rB))]>;
954 def SRAW : XForm_6<31, 792, (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB),
955 "sraw $rA, $rS, $rB", IntShift,
956 [(set GPRC:$rA, (PPCsra GPRC:$rS, GPRC:$rB))]>;
962 def SRAWI : XForm_10<31, 824, (outs GPRC:$rA), (ins GPRC:$rS, u5imm:$SH),
963 "srawi $rA, $rS, $SH", IntShift,
964 [(set GPRC:$rA, (sra GPRC:$rS, (i32 imm:$SH)))]>;
966 def CNTLZW : XForm_11<31, 26, (outs GPRC:$rA), (ins GPRC:$rS),
967 "cntlzw $rA, $rS", IntGeneral,
968 [(set GPRC:$rA, (ctlz GPRC:$rS))]>;
969 def EXTSB : XForm_11<31, 954, (outs GPRC:$rA), (ins GPRC:$rS),
970 "extsb $rA, $rS", IntGeneral,
971 [(set GPRC:$rA, (sext_inreg GPRC:$rS, i8))]>;
972 def EXTSH : XForm_11<31, 922, (outs GPRC:$rA), (ins GPRC:$rS),
973 "extsh $rA, $rS", IntGeneral,
974 [(set GPRC:$rA, (sext_inreg GPRC:$rS, i16))]>;
976 def CMPW : XForm_16_ext<31, 0, (outs CRRC:$crD), (ins GPRC:$rA, GPRC:$rB),
977 "cmpw $crD, $rA, $rB", IntCompare>;
978 def CMPLW : XForm_16_ext<31, 32, (outs CRRC:$crD), (ins GPRC:$rA, GPRC:$rB),
979 "cmplw $crD, $rA, $rB", IntCompare>;
1161 def ADD4 : XOForm_1<31, 266, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1162 "add $rT, $rA, $rB", IntGeneral,
1163 [(set GPRC:$rT, (add GPRC:$rA, GPRC:$rB))]>;
1165 def ADDC : XOForm_1<31, 10, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1166 "addc $rT, $rA, $rB", IntGeneral,
1167 [(set GPRC:$rT, (addc GPRC:$rA, GPRC:$rB))]>,
1170 def DIVW : XOForm_1<31, 491, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1171 "divw $rT, $rA, $rB", IntDivW,
1172 [(set GPRC:$rT, (sdiv GPRC:$rA, GPRC:$rB))]>,
1174 def DIVWU : XOForm_1<31, 459, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1175 "divwu $rT, $rA, $rB", IntDivW,
1176 [(set GPRC:$rT, (udiv GPRC:$rA, GPRC:$rB))]>,
1178 def MULHW : XOForm_1<31, 75, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1179 "mulhw $rT, $rA, $rB", IntMulHW,
1180 [(set GPRC:$rT, (mulhs GPRC:$rA, GPRC:$rB))]>;
1181 def MULHWU : XOForm_1<31, 11, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1182 "mulhwu $rT, $rA, $rB", IntMulHWU,
1183 [(set GPRC:$rT, (mulhu GPRC:$rA, GPRC:$rB))]>;
1184 def MULLW : XOForm_1<31, 235, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1185 "mullw $rT, $rA, $rB", IntMulHW,
1186 [(set GPRC:$rT, (mul GPRC:$rA, GPRC:$rB))]>;
1187 def SUBF : XOForm_1<31, 40, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1188 "subf $rT, $rA, $rB", IntGeneral,
1189 [(set GPRC:$rT, (sub GPRC:$rB, GPRC:$rA))]>;
1191 def SUBFC : XOForm_1<31, 8, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1192 "subfc $rT, $rA, $rB", IntGeneral,
1193 [(set GPRC:$rT, (subc GPRC:$rB, GPRC:$rA))]>,
1196 def NEG : XOForm_3<31, 104, 0, (outs GPRC:$rT), (ins GPRC:$rA),
1197 "neg $rT, $rA", IntGeneral,
1198 [(set GPRC:$rT, (ineg GPRC:$rA))]>;
1200 def ADDE : XOForm_1<31, 138, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1201 "adde $rT, $rA, $rB", IntGeneral,
1202 [(set GPRC:$rT, (adde GPRC:$rA, GPRC:$rB))]>;
1203 def ADDME : XOForm_3<31, 234, 0, (outs GPRC:$rT), (ins GPRC:$rA),
1204 "addme $rT, $rA", IntGeneral,
1205 [(set GPRC:$rT, (adde GPRC:$rA, -1))]>;
1206 def ADDZE : XOForm_3<31, 202, 0, (outs GPRC:$rT), (ins GPRC:$rA),
1207 "addze $rT, $rA", IntGeneral,
1208 [(set GPRC:$rT, (adde GPRC:$rA, 0))]>;
1209 def SUBFE : XOForm_1<31, 136, 0, (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB),
1210 "subfe $rT, $rA, $rB", IntGeneral,
1211 [(set GPRC:$rT, (sube GPRC:$rB, GPRC:$rA))]>;
1212 def SUBFME : XOForm_3<31, 232, 0, (outs GPRC:$rT), (ins GPRC:$rA),
1213 "subfme $rT, $rA", IntGeneral,
1214 [(set GPRC:$rT, (sube -1, GPRC:$rA))]>;
1215 def SUBFZE : XOForm_3<31, 200, 0, (outs GPRC:$rT), (ins GPRC:$rA),
1216 "subfze $rT, $rA", IntGeneral,
1217 [(set GPRC:$rT, (sube 0, GPRC:$rA))]>;
1329 (outs GPRC:$rA), (ins GPRC:$rSi, GPRC:$rS, u5imm:$SH, u5imm:$MB,
1330 u5imm:$ME), "rlwimi $rA, $rS, $SH, $MB, $ME", IntRotate,
1331 []>, PPC970_DGroup_Cracked, RegConstraint<"$rSi = $rA">,
1335 (outs GPRC:$rA), (ins GPRC:$rS, u5imm:$SH, u5imm:$MB, u5imm:$ME),
1336 "rlwinm $rA, $rS, $SH, $MB, $ME", IntGeneral,
1339 (outs GPRC:$rA), (ins GPRC:$rS, u5imm:$SH, u5imm:$MB, u5imm:$ME),
1340 "rlwinm. $rA, $rS, $SH, $MB, $ME", IntGeneral,
1343 (outs GPRC:$rA), (ins GPRC:$rS, GPRC:$rB, u5imm:$MB, u5imm:$ME),
1344 "rlwnm $rA, $rS, $rB, $MB, $ME", IntGeneral,