Home
last modified time | relevance | path

Searched refs:abs_imm (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dcode_generator_arm64.cc3057 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in FOR_EACH_CONDITION_INSTRUCTION() local
3058 DCHECK(IsPowerOfTwo(abs_imm)) << abs_imm; in FOR_EACH_CONDITION_INSTRUCTION()
3089 if (abs_imm == 2) { in FOR_EACH_CONDITION_INSTRUCTION()
3095 __ Add(temp, dividend, abs_imm - 1); in FOR_EACH_CONDITION_INSTRUCTION()
3102 int ctz_imm = CTZ(abs_imm); in FOR_EACH_CONDITION_INSTRUCTION()
5630 uint64_t abs_imm = static_cast<uint64_t>(AbsOrMin(imm)); in GenerateIntRemForPower2Denom() local
5631 DCHECK(IsPowerOfTwo(abs_imm)) << abs_imm; in GenerateIntRemForPower2Denom()
5642 __ And(out, dividend, abs_imm - 1); in GenerateIntRemForPower2Denom()
5644 if (abs_imm == 2) { in GenerateIntRemForPower2Denom()
5653 __ And(out, dividend, abs_imm - 1); in GenerateIntRemForPower2Denom()
[all …]
Dcode_generator_x86_64.cc3782 uint64_t abs_imm = AbsOrMin(imm); in RemByPowerOfTwo() local
3787 __ andl(out, Immediate(abs_imm-1)); in RemByPowerOfTwo()
3789 __ leal(tmp, Address(out, static_cast<int32_t>(~(abs_imm-1)))); in RemByPowerOfTwo()
3796 codegen_->Load64BitValue(tmp, abs_imm - 1); in RemByPowerOfTwo()
3804 __ shlq(tmp, Immediate(WhichPowerOf2(abs_imm))); in RemByPowerOfTwo()
3818 uint64_t abs_imm = AbsOrMin(imm); in DivByPowerOfTwo() local
3825 if (abs_imm == 2) { in DivByPowerOfTwo()
3830 __ leal(tmp, Address(numerator, abs_imm - 1)); in DivByPowerOfTwo()
3845 if (abs_imm == 2) { in DivByPowerOfTwo()
3850 codegen_->Load64BitValue(rdx, abs_imm - 1); in DivByPowerOfTwo()
Dcode_generator_x86.cc3680 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in RemByPowerOfTwo() local
3685 __ andl(out, Immediate(abs_imm-1)); in RemByPowerOfTwo()
3687 __ leal(tmp, Address(out, static_cast<int32_t>(~(abs_imm-1)))); in RemByPowerOfTwo()
3700 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in DivByPowerOfTwo() local
3704 __ leal(num, Address(input_register, abs_imm - 1)); in DivByPowerOfTwo()
Dcode_generator_arm_vixl.cc4234 uint32_t abs_imm = static_cast<uint32_t>(AbsOrMin(imm)); in DivRemByPowerOfTwo() local
4235 int ctz_imm = CTZ(abs_imm); in DivRemByPowerOfTwo()
4279 if (GetVIXLAssembler()->IsModifiedImmediate(abs_imm - 1)) { in DivRemByPowerOfTwo()
4280 __ And(out, dividend, abs_imm - 1); in DivRemByPowerOfTwo()