Lines Matching defs:immediate
162 Ldr(temp, operand.immediate());
166 int64_t immediate = operand.ImmediateValue();
169 // If the operation is NOT, invert the operation and immediate.
172 immediate = ~immediate;
175 // Ignore the top 32 bits of an immediate if we're moving to a W register.
178 DCHECK(((immediate >> kWRegSizeInBits) == 0) ||
179 ((immediate >> kWRegSizeInBits) == -1));
180 immediate &= kWRegMask;
183 DCHECK(rd.Is64Bits() || is_uint32(immediate));
186 if (immediate == 0) {
201 } else if ((rd.Is64Bits() && (immediate == -1L)) ||
202 (rd.Is32Bits() && (immediate == 0xFFFFFFFFL))) {
208 Mov(rd, immediate);
222 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) {
226 // Immediate can't be encoded: synthesize using move immediate.
230 // immediate, as the encoding won't allow the subsequent post shift.
232 Operand imm_operand = MoveImmediateForShiftedOp(temp, immediate, mode);
277 // 4. 32-bit orr immediate.
278 // 5. 64-bit orr immediate.
285 // Try to move the immediate in one instruction, and if that fails, switch to
290 // Generic immediate case. Imm will be represented by
304 // Mov instructions can't move immediate values into the stack pointer, so
552 // 8-bit immediate.
556 // 16-bit immediate.
559 // 32-bit immediate.
562 // 64-bit immediate.
583 Ldr(rd, operand.immediate());
639 Ldr(temp, operand.immediate());
645 // The immediate can be encoded in the instruction, or the operand is an
719 // Encode the immediate in a single move instruction, if possible.
723 // Pre-shift the immediate to the least-significant bits of the register.
736 // immediate is tested.
741 // Pre-shift the immediate to the most-significant bits of the register. We
743 // different immediate that may be encodable using movn or orr-immediate.
744 // If this new immediate is encodable, the set bits will be eliminated by
750 // The new immediate has been moved into the destination's low bits:
754 // The new immediate has been moved into the destination's high bits:
758 // Use the generic move operation to set up the immediate.
777 Ldr(temp, operand.immediate());
789 // only pre-shift the immediate right by values supported in the add/sub
793 // the immediate at all.
820 Ldr(temp, operand.immediate());
825 // Add/sub with carry (immediate or ROR shifted register.)
865 // Check if an immediate offset fits in the immediate field of the
900 // Check if the offset fits in the immediate field of the appropriate