Lines Matching refs:Rd
320 // ADD <Rd>, sp, #<imm8>
775 bits<3> Rd;
777 let Inst{2-0} = Rd;
785 bits<3> Rd;
788 let Inst{2-0} = Rd;
796 bits<3> Rd;
799 let Inst{2-0} = Rd;
805 bits<3> Rd;
808 let Inst{2-0} = Rd;
840 T1sIGenEncodeImm<0b01110, (outs tGPR:$Rd), (ins tGPR:$Rm, imm0_7:$imm3),
842 "add", "\t$Rd, $Rm, $imm3",
843 [(set tGPR:$Rd, (add tGPR:$Rm, imm0_7:$imm3))]> {
857 T1sIGenEncode<0b01100, (outs tGPR:$Rd), (ins tGPR:$Rn, tGPR:$Rm),
859 "add", "\t$Rd, $Rn, $Rm",
860 [(set tGPR:$Rd, (add tGPR:$Rn, tGPR:$Rm))]>;
884 T1sIGenEncodeImm<{0,1,0,?,?}, (outs tGPR:$Rd), (ins tGPR:$Rm, imm_sr:$imm5),
886 "asr", "\t$Rd, $Rm, $imm5",
887 [(set tGPR:$Rd, (sra tGPR:$Rm, (i32 imm_sr:$imm5)))]> {
967 T1sIGenEncodeImm<{0,0,0,?,?}, (outs tGPR:$Rd), (ins tGPR:$Rm, imm0_31:$imm5),
969 "lsl", "\t$Rd, $Rm, $imm5",
970 [(set tGPR:$Rd, (shl tGPR:$Rm, (i32 imm:$imm5)))]> {
984 T1sIGenEncodeImm<{0,0,1,?,?}, (outs tGPR:$Rd), (ins tGPR:$Rm, imm_sr:$imm5),
986 "lsr", "\t$Rd, $Rm, $imm5",
987 [(set tGPR:$Rd, (srl tGPR:$Rm, (i32 imm_sr:$imm5)))]> {
1001 def tMOVi8 : T1sI<(outs tGPR:$Rd), (ins imm0_255:$imm8), IIC_iMOVi,
1002 "mov", "\t$Rd, $imm8",
1003 [(set tGPR:$Rd, imm0_255:$imm8)]>,
1006 bits<3> Rd;
1008 let Inst{10-8} = Rd;
1019 def tMOVr : Thumb1pI<(outs GPR:$Rd), (ins GPR:$Rm), AddrModeNone,
1021 "mov", "\t$Rd, $Rm", "", []>,
1024 bits<4> Rd;
1026 let Inst{7} = Rd{3};
1028 let Inst{2-0} = Rd{2-0};
1031 def tMOVSr : T1I<(outs tGPR:$Rd), (ins tGPR:$Rm), IIC_iMOVr,
1032 "movs\t$Rd, $Rm", []>, Encoding16 {
1034 bits<3> Rd;
1038 let Inst{2-0} = Rd;
1045 Thumb1sI<(outs tGPR:$Rd), (ins tGPR:$Rn, tGPR:$Rm), AddrModeNone, 2,
1046 IIC_iMUL32, "mul", "\t$Rd, $Rn, $Rm", "$Rm = $Rd",
1047 [(set tGPR:$Rd, (mul tGPR:$Rn, tGPR:$Rm))]>,
1049 bits<3> Rd;
1052 let Inst{2-0} = Rd;
1061 T1sIDPEncode<0b1111, (outs tGPR:$Rd), (ins tGPR:$Rn), IIC_iMVNr,
1062 "mvn", "\t$Rd, $Rn",
1063 [(set tGPR:$Rd, (not tGPR:$Rn))]>;
1075 T1pIMiscEncode<{1,0,1,0,0,0,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1077 "rev", "\t$Rd, $Rm",
1078 [(set tGPR:$Rd, (bswap tGPR:$Rm))]>,
1082 T1pIMiscEncode<{1,0,1,0,0,1,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1084 "rev16", "\t$Rd, $Rm",
1085 [(set tGPR:$Rd, (rotr (bswap tGPR:$Rm), (i32 16)))]>,
1089 T1pIMiscEncode<{1,0,1,0,1,1,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1091 "revsh", "\t$Rd, $Rm",
1092 [(set tGPR:$Rd, (sra (bswap tGPR:$Rm), (i32 16)))]>,
1104 T1sIDPEncode<0b1001, (outs tGPR:$Rd), (ins tGPR:$Rn),
1106 "rsb", "\t$Rd, $Rn, #0",
1107 [(set tGPR:$Rd, (ineg tGPR:$Rn))]>;
1119 T1sIGenEncodeImm<0b01111, (outs tGPR:$Rd), (ins tGPR:$Rm, imm0_7:$imm3),
1121 "sub", "\t$Rd, $Rm, $imm3",
1122 [(set tGPR:$Rd, (add tGPR:$Rm, imm0_7_neg:$imm3))]> {
1135 T1sIGenEncode<0b01101, (outs tGPR:$Rd), (ins tGPR:$Rn, tGPR:$Rm),
1137 "sub", "\t$Rd, $Rn, $Rm",
1138 [(set tGPR:$Rd, (sub tGPR:$Rn, tGPR:$Rm))]>;
1142 T1pIMiscEncode<{0,0,1,0,0,1,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1144 "sxtb", "\t$Rd, $Rm",
1145 [(set tGPR:$Rd, (sext_inreg tGPR:$Rm, i8))]>,
1150 T1pIMiscEncode<{0,0,1,0,0,0,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1152 "sxth", "\t$Rd, $Rm",
1153 [(set tGPR:$Rd, (sext_inreg tGPR:$Rm, i16))]>,
1165 T1pIMiscEncode<{0,0,1,0,1,1,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1167 "uxtb", "\t$Rd, $Rm",
1168 [(set tGPR:$Rd, (and tGPR:$Rm, 0xFF))]>,
1173 T1pIMiscEncode<{0,0,1,0,1,0,?}, (outs tGPR:$Rd), (ins tGPR:$Rm),
1175 "uxth", "\t$Rd, $Rm",
1176 [(set tGPR:$Rd, (and tGPR:$Rm, 0xFFFF))]>,
1190 def tADR : T1I<(outs tGPR:$Rd), (ins t_adrlabel:$addr, pred:$p),
1191 IIC_iALUi, "adr{$p}\t$Rd, $addr", []>,
1193 bits<3> Rd;
1195 let Inst{10-8} = Rd;
1201 def tLEApcrel : tPseudoInst<(outs tGPR:$Rd), (ins i32imm:$label, pred:$p),
1205 def tLEApcrelJT : tPseudoInst<(outs tGPR:$Rd),
1407 def : tInstAlias<"neg${s}${p} $Rd, $Rm",
1408 (tRSB tGPR:$Rd, s_cc_out:$s, tGPR:$Rm, pred:$p)>;