Lines Matching refs:int32_t
205 int32_t encoding = B26 | B25 | B24 | B20 | in sdiv()
207 (static_cast<int32_t>(cond) << kConditionShift) | in sdiv()
208 (static_cast<int32_t>(rn) << 0) | in sdiv()
209 (static_cast<int32_t>(rd) << 16) | in sdiv()
210 (static_cast<int32_t>(rm) << 8) | in sdiv()
221 int32_t encoding = B26 | B25 | B24 | B21 | B20 | in udiv()
223 (static_cast<int32_t>(cond) << kConditionShift) | in udiv()
224 (static_cast<int32_t>(rn) << 0) | in udiv()
225 (static_cast<int32_t>(rd) << 16) | in udiv()
226 (static_cast<int32_t>(rm) << 8) | in udiv()
240 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in sbfx()
259 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in ubfx()
567 void Arm32Assembler::Emit(int32_t value) { in Emit()
569 buffer_.Emit<int32_t>(value); in Emit()
582 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift | in EmitType01()
584 static_cast<int32_t>(opcode) << kOpcodeShift | in EmitType01()
586 static_cast<int32_t>(rn) << kRnShift | in EmitType01()
587 static_cast<int32_t>(rd) << kRdShift | in EmitType01()
595 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift | in EmitType5()
611 int32_t encoding = 0; in EmitMemOp()
614 int32_t offset = ad.GetOffset(); in EmitMemOp()
615 int32_t u = B23; in EmitMemOp()
621 encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitMemOp()
625 (static_cast<int32_t>(rd) << kRdShift) | in EmitMemOp()
630 encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitMemOp()
634 (static_cast<int32_t>(rd) << kRdShift) | in EmitMemOp()
642 int32_t mode, in EmitMemOpAddressMode3()
648 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitMemOpAddressMode3()
651 (static_cast<int32_t>(rd) << kRdShift) | in EmitMemOpAddressMode3()
664 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitMultiMemOp()
668 (static_cast<int32_t>(base) << kRnShift) | in EmitMultiMemOp()
681 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift | in EmitShiftImmediate()
682 static_cast<int32_t>(MOV) << kOpcodeShift | in EmitShiftImmediate()
683 static_cast<int32_t>(rd) << kRdShift | in EmitShiftImmediate()
685 static_cast<int32_t>(opcode) << kShiftShift | in EmitShiftImmediate()
686 static_cast<int32_t>(rm); in EmitShiftImmediate()
698 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift | in EmitShiftRegister()
699 static_cast<int32_t>(MOV) << kOpcodeShift | in EmitShiftRegister()
700 static_cast<int32_t>(rd) << kRdShift | in EmitShiftRegister()
702 static_cast<int32_t>(opcode) << kShiftShift | in EmitShiftRegister()
704 static_cast<int32_t>(rm); in EmitShiftRegister()
727 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in clz()
729 (static_cast<int32_t>(rd) << kRdShift) | in clz()
730 (0xf << 8) | B4 | static_cast<int32_t>(rm); in clz()
737 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift | in movw()
739 static_cast<int32_t>(rd) << kRdShift | (imm16 & 0xfff); in movw()
746 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift | in movt()
748 static_cast<int32_t>(rd) << kRdShift | (imm16 & 0xfff); in movt()
756 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitMiscellaneous()
775 int32_t encoding = (static_cast<int32_t>(rd) << kRdShift) | in EmitReverseBytes()
777 static_cast<int32_t>(rm); in EmitReverseBytes()
788 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in rbit()
790 (static_cast<int32_t>(rd) << kRdShift) | in rbit()
791 (0xf << 8) | B5 | B4 | static_cast<int32_t>(rm); in rbit()
811 void Arm32Assembler::EmitMulOp(Condition cond, int32_t opcode, in EmitMulOp()
819 int32_t encoding = opcode | in EmitMulOp()
820 (static_cast<int32_t>(cond) << kConditionShift) | in EmitMulOp()
821 (static_cast<int32_t>(rn) << kRnShift) | in EmitMulOp()
822 (static_cast<int32_t>(rd) << kRdShift) | in EmitMulOp()
823 (static_cast<int32_t>(rs) << kRsShift) | in EmitMulOp()
825 (static_cast<int32_t>(rm) << kRmShift); in EmitMulOp()
834 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in ldrex()
838 (static_cast<int32_t>(rn) << kLdExRnShift) | in ldrex()
839 (static_cast<int32_t>(rt) << kLdExRtShift) | in ldrex()
854 int32_t encoding = in ldrexd()
872 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in strex()
875 (static_cast<int32_t>(rn) << kStrExRnShift) | in strex()
876 (static_cast<int32_t>(rd) << kStrExRdShift) | in strex()
878 (static_cast<int32_t>(rt) << kStrExRtShift); in strex()
894 int32_t encoding = in strexd()
907 int32_t encoding = (kSpecialCondition << kConditionShift) | in clrex()
915 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in nop()
927 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmovsr()
929 ((static_cast<int32_t>(sn) >> 1)*B16) | in vmovsr()
930 (static_cast<int32_t>(rt)*B12) | B11 | B9 | in vmovsr()
931 ((static_cast<int32_t>(sn) & 1)*B7) | B4; in vmovsr()
942 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmovrs()
944 ((static_cast<int32_t>(sn) >> 1)*B16) | in vmovrs()
945 (static_cast<int32_t>(rt)*B12) | B11 | B9 | in vmovrs()
946 ((static_cast<int32_t>(sn) & 1)*B7) | B4; in vmovrs()
962 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmovsrr()
964 (static_cast<int32_t>(rt2)*B16) | in vmovsrr()
965 (static_cast<int32_t>(rt)*B12) | B11 | B9 | in vmovsrr()
966 ((static_cast<int32_t>(sm) & 1)*B5) | B4 | in vmovsrr()
967 (static_cast<int32_t>(sm) >> 1); in vmovsrr()
984 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmovrrs()
986 (static_cast<int32_t>(rt2)*B16) | in vmovrrs()
987 (static_cast<int32_t>(rt)*B12) | B11 | B9 | in vmovrrs()
988 ((static_cast<int32_t>(sm) & 1)*B5) | B4 | in vmovrrs()
989 (static_cast<int32_t>(sm) >> 1); in vmovrrs()
1004 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmovdrr()
1006 (static_cast<int32_t>(rt2)*B16) | in vmovdrr()
1007 (static_cast<int32_t>(rt)*B12) | B11 | B9 | B8 | in vmovdrr()
1008 ((static_cast<int32_t>(dm) >> 4)*B5) | B4 | in vmovdrr()
1009 (static_cast<int32_t>(dm) & 0xf); in vmovdrr()
1025 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmovrrd()
1027 (static_cast<int32_t>(rt2)*B16) | in vmovrrd()
1028 (static_cast<int32_t>(rt)*B12) | B11 | B9 | B8 | in vmovrrd()
1029 ((static_cast<int32_t>(dm) >> 4)*B5) | B4 | in vmovrrd()
1030 (static_cast<int32_t>(dm) & 0xf); in vmovrrd()
1039 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vldrs()
1041 ((static_cast<int32_t>(sd) & 1)*B22) | in vldrs()
1042 ((static_cast<int32_t>(sd) >> 1)*B12) | in vldrs()
1053 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vstrs()
1055 ((static_cast<int32_t>(sd) & 1)*B22) | in vstrs()
1056 ((static_cast<int32_t>(sd) >> 1)*B12) | in vstrs()
1066 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vldrd()
1068 ((static_cast<int32_t>(dd) >> 4)*B22) | in vldrd()
1069 ((static_cast<int32_t>(dd) & 0xf)*B12) | in vldrd()
1080 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vstrd()
1082 ((static_cast<int32_t>(dd) >> 4)*B22) | in vstrd()
1083 ((static_cast<int32_t>(dd) & 0xf)*B12) | in vstrd()
1123 int32_t encoding = B27 | B26 | B21 | B19 | B18 | B16 | in EmitVPushPop()
1127 static_cast<int32_t>(cond) << kConditionShift | in EmitVPushPop()
1135 void Arm32Assembler::EmitVFPsss(Condition cond, int32_t opcode, in EmitVFPsss()
1141 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitVFPsss()
1143 ((static_cast<int32_t>(sd) & 1)*B22) | in EmitVFPsss()
1144 ((static_cast<int32_t>(sn) >> 1)*B16) | in EmitVFPsss()
1145 ((static_cast<int32_t>(sd) >> 1)*B12) | in EmitVFPsss()
1146 ((static_cast<int32_t>(sn) & 1)*B7) | in EmitVFPsss()
1147 ((static_cast<int32_t>(sm) & 1)*B5) | in EmitVFPsss()
1148 (static_cast<int32_t>(sm) >> 1); in EmitVFPsss()
1153 void Arm32Assembler::EmitVFPddd(Condition cond, int32_t opcode, in EmitVFPddd()
1159 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitVFPddd()
1161 ((static_cast<int32_t>(dd) >> 4)*B22) | in EmitVFPddd()
1162 ((static_cast<int32_t>(dn) & 0xf)*B16) | in EmitVFPddd()
1163 ((static_cast<int32_t>(dd) & 0xf)*B12) | in EmitVFPddd()
1164 ((static_cast<int32_t>(dn) >> 4)*B7) | in EmitVFPddd()
1165 ((static_cast<int32_t>(dm) >> 4)*B5) | in EmitVFPddd()
1166 (static_cast<int32_t>(dm) & 0xf); in EmitVFPddd()
1171 void Arm32Assembler::EmitVFPsd(Condition cond, int32_t opcode, in EmitVFPsd()
1176 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitVFPsd()
1178 ((static_cast<int32_t>(sd) & 1)*B22) | in EmitVFPsd()
1179 ((static_cast<int32_t>(sd) >> 1)*B12) | in EmitVFPsd()
1180 ((static_cast<int32_t>(dm) >> 4)*B5) | in EmitVFPsd()
1181 (static_cast<int32_t>(dm) & 0xf); in EmitVFPsd()
1186 void Arm32Assembler::EmitVFPds(Condition cond, int32_t opcode, in EmitVFPds()
1191 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in EmitVFPds()
1193 ((static_cast<int32_t>(dd) >> 4)*B22) | in EmitVFPds()
1194 ((static_cast<int32_t>(dd) & 0xf)*B12) | in EmitVFPds()
1195 ((static_cast<int32_t>(sm) & 1)*B5) | in EmitVFPds()
1196 (static_cast<int32_t>(sm) >> 1); in EmitVFPds()
1260 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in vmstat()
1262 (static_cast<int32_t>(PC)*B12) | in vmstat()
1270 int32_t encoding = (AL << kConditionShift) | B27 | B26 | B25 | B24 | imm24; in svc()
1276 int32_t encoding = (AL << kConditionShift) | B24 | B21 | in bkpt()
1285 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in blx()
1287 (static_cast<int32_t>(rm) << kRmShift); in blx()
1295 int32_t encoding = (static_cast<int32_t>(cond) << kConditionShift) | in bx()
1297 (static_cast<int32_t>(rm) << kRmShift); in bx()
1333 int32_t position = label->Position(); in Bind()
1334 int32_t next = buffer_.Load<int32_t>(position); in Bind()
1335 int32_t encoded = Arm32Assembler::EncodeBranchOffset(bound_pc - position, next); in Bind()
1336 buffer_.Store<int32_t>(position, encoded); in Bind()
1343 int32_t Arm32Assembler::EncodeBranchOffset(int offset, int32_t inst) { in EncodeBranchOffset()
1356 int Arm32Assembler::DecodeBranchOffset(int32_t inst) { in DecodeBranchOffset()
1398 void Arm32Assembler::AddConstant(Register rd, Register rn, int32_t value, in AddConstant()
1433 void Arm32Assembler::CmpConstant(Register rn, int32_t value, Condition cond) { in CmpConstant()
1449 void Arm32Assembler::LoadImmediate(Register rd, int32_t value, Condition cond) { in LoadImmediate()
1470 int32_t offset, in LoadFromOffset()
1510 int32_t offset, in LoadSFromOffset()
1528 int32_t offset, in LoadDFromOffset()
1547 int32_t offset, in StoreToOffset()
1582 int32_t offset, in StoreSToOffset()
1600 int32_t offset, in StoreDToOffset()
1621 int32_t encoding = 0xf57ff05f; // dmb in dmb()