Lines Matching refs:immediate

63     Ldr(temp, operand.immediate());
67 int64_t immediate = operand.ImmediateValue();
70 // If the operation is NOT, invert the operation and immediate.
73 immediate = ~immediate;
76 // Ignore the top 32 bits of an immediate if we're moving to a W register.
79 DCHECK(((immediate >> kWRegSizeInBits) == 0) ||
80 ((immediate >> kWRegSizeInBits) == -1));
81 immediate &= kWRegMask;
84 DCHECK(rd.Is64Bits() || is_uint32(immediate));
87 if (immediate == 0) {
102 } else if ((rd.Is64Bits() && (immediate == -1L)) ||
103 (rd.Is32Bits() && (immediate == 0xffffffffL))) {
109 Mov(rd, immediate);
123 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) {
127 // Immediate can't be encoded: synthesize using move immediate.
129 Operand imm_operand = MoveImmediateForShiftedOp(temp, immediate);
175 // 4. 32-bit orr immediate.
176 // 5. 64-bit orr immediate.
183 // Try to move the immediate in one instruction, and if that fails, switch to
188 // Generic immediate case. Imm will be represented by
203 // Mov instructions can't move immediate values into the stack pointer, so
252 Ldr(dst, operand.immediate());
300 Ldr(rd, operand.immediate());
357 Ldr(temp, operand.immediate());
363 // The immediate can be encoded in the instruction, or the operand is an
442 // Encode the immediate in a single move instruction, if possible.
446 // Pre-shift the immediate to the least-significant bits of the register.
450 // Pre-shift the immediate to the most-significant bits of the register. We
452 // different immediate that may be encodable using movn or orr-immediate.
453 // If this new immediate is encodable, the set bits will be eliminated by
459 // The new immediate has been moved into the destination's low bits:
463 // The new immediate has been moved into the destination's high bits:
467 // Use the generic move operation to set up the immediate.
489 Ldr(temp, operand.immediate());
521 Ldr(temp, operand.immediate());
526 // Add/sub with carry (immediate or ROR shifted register.)
568 // Check if an immediate offset fits in the immediate field of the
603 // Check if the offset fits in the immediate field of the appropriate
1186 // Don't check access size for non-immediate sizes. It's difficult to do
1206 // Don't check access size for non-immediate sizes. It's difficult to do
2791 if (expected.immediate() == actual.immediate()) {
2795 Mov(x0, actual.immediate());
2796 if (expected.immediate() ==
2806 Mov(x2, expected.immediate());
2811 Operand actual_op = actual.is_immediate() ? Operand(actual.immediate())