Searched refs:abs_imm (Results 1 – 4 of 4) sorted by relevance
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 3077 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in FOR_EACH_CONDITION_INSTRUCTION() local 3078 DCHECK(IsPowerOfTwo(abs_imm)) << abs_imm; in FOR_EACH_CONDITION_INSTRUCTION() 3109 if (abs_imm == 2) { in FOR_EACH_CONDITION_INSTRUCTION() 3115 __ Add(temp, dividend, abs_imm - 1); in FOR_EACH_CONDITION_INSTRUCTION() 3122 int ctz_imm = CTZ(abs_imm); in FOR_EACH_CONDITION_INSTRUCTION() 5844 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in GenerateIntRemForPower2Denom() local 5845 DCHECK(IsPowerOfTwo(abs_imm)) << abs_imm; in GenerateIntRemForPower2Denom() 5856 __ And(out, dividend, abs_imm - 1); in GenerateIntRemForPower2Denom() 5858 if (abs_imm == 2) { in GenerateIntRemForPower2Denom() 5867 __ And(out, dividend, abs_imm - 1); in GenerateIntRemForPower2Denom() [all …]
|
D | code_generator_x86_64.cc | 3869 uint64_t abs_imm = AbsOrMin(imm); in RemByPowerOfTwo() local 3874 __ andl(out, Immediate(abs_imm-1)); in RemByPowerOfTwo() 3876 __ leal(tmp, Address(out, static_cast<int32_t>(~(abs_imm-1)))); in RemByPowerOfTwo() 3883 codegen_->Load64BitValue(tmp, abs_imm - 1); in RemByPowerOfTwo() 3891 __ shlq(tmp, Immediate(WhichPowerOf2(abs_imm))); in RemByPowerOfTwo() 3905 uint64_t abs_imm = AbsOrMin(imm); in DivByPowerOfTwo() local 3912 if (abs_imm == 2) { in DivByPowerOfTwo() 3917 __ leal(tmp, Address(numerator, abs_imm - 1)); in DivByPowerOfTwo() 3932 if (abs_imm == 2) { in DivByPowerOfTwo() 3937 codegen_->Load64BitValue(rdx, abs_imm - 1); in DivByPowerOfTwo()
|
D | code_generator_x86.cc | 3866 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in RemByPowerOfTwo() local 3871 __ andl(out, Immediate(abs_imm-1)); in RemByPowerOfTwo() 3873 __ leal(tmp, Address(out, static_cast<int32_t>(~(abs_imm-1)))); in RemByPowerOfTwo() 3886 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in DivByPowerOfTwo() local 3890 __ leal(num, Address(input_register, abs_imm - 1)); in DivByPowerOfTwo()
|
D | code_generator_arm_vixl.cc | 4280 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in DivRemByPowerOfTwo() local 4281 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo() 4325 if (GetVIXLAssembler()->IsModifiedImmediate(abs_imm - 1)) { in DivRemByPowerOfTwo() 4326 __ And(out, dividend, abs_imm - 1); in DivRemByPowerOfTwo()
|