Home
last modified time | relevance | path

Searched refs:abs_value (Results 1 – 2 of 2) sorted by relevance

/art/compiler/dex/quick/arm64/
Dutility_arm64.cc350 uint32_t abs_value = (value == INT_MIN) ? value : std::abs(value); in InexpensiveConstantInt() local
351 if (abs_value < 0x1000) { in InexpensiveConstantInt()
353 } else if ((abs_value & UINT64_C(0xfff)) == 0 && ((abs_value >> 12) < 0x1000)) { in InexpensiveConstantInt()
812 uint64_t abs_value = (neg & !(value == LLONG_MIN)) ? -value : value; in OpRegRegImm64() local
843 if (abs_value < 0x1000) { in OpRegRegImm64()
845 return NewLIR4(opcode | wide, r_dest.GetReg(), r_src1.GetReg(), abs_value, 0); in OpRegRegImm64()
846 } else if ((abs_value & UINT64_C(0xfff)) == 0 && ((abs_value >> 12) < 0x1000)) { in OpRegRegImm64()
848 return NewLIR4(opcode | wide, r_dest.GetReg(), r_src1.GetReg(), abs_value >> 12, 1); in OpRegRegImm64()
945 uint64_t abs_value = (neg & !(value == LLONG_MIN)) ? -value : value; in OpRegImm64() local
947 if (LIKELY(abs_value < 0x1000)) { in OpRegImm64()
[all …]
/art/compiler/dex/quick/arm/
Dutility_arm.cc515 int32_t abs_value = (neg) ? -value : value; in OpRegRegImm() local
548 if (all_low_regs && ((abs_value & 0x7) == abs_value)) { in OpRegRegImm()
553 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), abs_value); in OpRegRegImm()
561 if (mod_imm < 0 && (abs_value >> 12) == 0) { in OpRegRegImm()
568 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), abs_value); in OpRegRegImm()
658 int32_t abs_value = (neg) ? -value : value; in OpRegImm() local
659 bool short_form = (((abs_value & 0xff) == abs_value) && r_dest_src1.Low8()); in OpRegImm()
691 return NewLIR2(opcode, r_dest_src1.GetReg(), abs_value); in OpRegImm()