Searched defs:immediate (Results 1 - 4 of 4) sorted by relevance
/art/compiler/utils/arm/ |
H A D | assembler_arm.h | 105 static bool CanHoldArm(uint32_t immediate, ShifterOperand* shifter_op) { argument 106 // Avoid the more expensive test for frequent small immediate values. 107 if (immediate < (1 << kImmed8Bits)) { 111 shifter_op->immed_ = immediate; 114 // Note that immediate must be unsigned for the test to work correctly. 116 uint32_t imm8 = (immediate << 2*rot) | (immediate >> (32 - 2*rot)); 129 uint32_t immediate, ShifterOperand* shifter_op); 282 I = 1 << 25, // immediate shifter operand (or not) 469 // Returns false if the immediate canno [all...] |
H A D | assembler_thumb2.cc | 633 // Check special case for SP relative ADD and SUB immediate. 643 if (imm > (1 << 9)) { // 9 bit immediate. 646 } else if (opcode == ADD && rd != SP && rn == SP) { // 10 bit immediate. 658 // immediate variants. 703 // The only thumb1 instruction with a register and an immediate are ADD and SUB. The 704 // immediate must be 3 bits. 708 // Check that the immediate is 3 bits for ADD and SUB. 714 // ADD, SUB, CMP and MOV may be thumb1 only if the immediate is 8 bits. 785 // Modified immediate. 788 LOG(FATAL) << "Immediate value cannot fit in thumb2 modified immediate"; 828 uint8_t immediate = 0; local 951 uint8_t immediate = 0; local [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 816 void X86Assembler::testl(Register reg, const Immediate& immediate) { argument 820 if (immediate.is_uint8() && reg < 4) { 821 // Use zero-extended 8-bit immediate. 828 EmitUint8(immediate.value() & 0xFF); 832 EmitImmediate(immediate); 836 EmitImmediate(immediate); 1346 const Immediate& immediate) { 1349 if (immediate.is_int8()) { 1350 // Use sign-extended 8-bit immediate. 1353 EmitUint8(immediate 1344 EmitComplex(int reg_or_opcode, const Operand& operand, const Immediate& immediate) argument [all...] |
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.cc | 79 CHECK(imm.is_int32()); // pushq only supports 32b immediate. 874 CHECK(imm.is_int32()); // cmpq only supports 32b immediate. 927 void X86_64Assembler::testl(CpuRegister reg, const Immediate& immediate) { argument 931 if (immediate.is_uint8() && reg.AsRegister() < 4) { 932 // Use zero-extended 8-bit immediate. 939 EmitUint8(immediate.value() & 0xFF); 943 EmitImmediate(immediate); 948 EmitImmediate(immediate); 978 CHECK(imm.is_int32()); // andq only supports 32b immediate. 1017 CHECK(imm.is_int32()); // xorq only supports 32b immediate 1544 EmitComplex(uint8_t reg_or_opcode, const Operand& operand, const Immediate& immediate) argument [all...] |
Completed in 916 milliseconds