Searched refs:immediate (Results 1 – 7 of 7) sorted by relevance
/art/compiler/utils/arm/ |
D | assembler_arm.cc | 156 uint32_t immediate, ShifterOperand* shifter_op) { in CanHoldThumb() argument 158 shifter_op->immed_ = immediate; in CanHoldThumb() 166 return immediate < (1 << 9); // 9 bits allowed. in CanHoldThumb() 168 return immediate < (1 << 12); // 12 bits. in CanHoldThumb() 171 if (immediate < (1 << 12)) { // Less than (or equal to) 12 bits can always be done. in CanHoldThumb() 174 return ArmAssembler::ModifiedImmediate(immediate) != kInvalidModifiedImmediate; in CanHoldThumb() 178 return ArmAssembler::ModifiedImmediate(immediate) != kInvalidModifiedImmediate; in CanHoldThumb() 181 return ArmAssembler::ModifiedImmediate(immediate) != kInvalidModifiedImmediate; in CanHoldThumb()
|
D | assembler_thumb2.cc | 828 uint8_t immediate = 0; in Emit16BitDataProcessing() local 836 immediate = so.GetImmediate(); in Emit16BitDataProcessing() 859 immediate = so.GetImmediate(); in Emit16BitDataProcessing() 932 (use_immediate ? (immediate << immediate_shift) : 0); in Emit16BitDataProcessing() 951 uint8_t immediate = 0; in Emit16BitAddSub() local 956 immediate = so.GetImmediate(); in Emit16BitAddSub() 976 immediate = static_cast<uint32_t>(so.GetRegister()); in Emit16BitAddSub() 987 CHECK_LT(immediate, (1 << 9)); in Emit16BitAddSub() 988 CHECK_EQ((immediate & 0b11), 0); in Emit16BitAddSub() 995 immediate >>= 2; in Emit16BitAddSub() [all …]
|
D | assembler_arm.h | 105 static bool CanHoldArm(uint32_t immediate, ShifterOperand* shifter_op) { in CanHoldArm() argument 107 if (immediate < (1 << kImmed8Bits)) { in CanHoldArm() 111 shifter_op->immed_ = immediate; in CanHoldArm() 116 uint32_t imm8 = (immediate << 2*rot) | (immediate >> (32 - 2*rot)); in CanHoldArm() 129 uint32_t immediate, ShifterOperand* shifter_op);
|
/art/compiler/utils/x86/ |
D | assembler_x86.cc | 816 void X86Assembler::testl(Register reg, const Immediate& immediate) { in testl() argument 820 if (immediate.is_uint8() && reg < 4) { in testl() 828 EmitUint8(immediate.value() & 0xFF); in testl() 832 EmitImmediate(immediate); in testl() 836 EmitImmediate(immediate); in testl() 1346 const Immediate& immediate) { in EmitComplex() argument 1349 if (immediate.is_int8()) { in EmitComplex() 1353 EmitUint8(immediate.value() & 0xFF); in EmitComplex() 1357 EmitImmediate(immediate); in EmitComplex() 1361 EmitImmediate(immediate); in EmitComplex()
|
D | assembler_x86.h | 584 void EmitComplex(int rm, const Operand& operand, const Immediate& immediate);
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 927 void X86_64Assembler::testl(CpuRegister reg, const Immediate& immediate) { in testl() argument 931 if (immediate.is_uint8() && reg.AsRegister() < 4) { in testl() 939 EmitUint8(immediate.value() & 0xFF); in testl() 943 EmitImmediate(immediate); in testl() 948 EmitImmediate(immediate); in testl() 1546 const Immediate& immediate) { in EmitComplex() argument 1549 if (immediate.is_int8()) { in EmitComplex() 1553 EmitUint8(immediate.value() & 0xFF); in EmitComplex() 1557 EmitImmediate(immediate); in EmitComplex() 1561 EmitImmediate(immediate); in EmitComplex()
|
D | assembler_x86_64.h | 628 void EmitComplex(uint8_t rm, const Operand& operand, const Immediate& immediate);
|