Lines Matching full:immediate
40 // Data-processing operands - Immediate
41 explicit ShifterOperand(uint32_t immediate) {
42 CHECK(immediate < (1 << kImmed8Bits));
44 encoding_ = immediate;
47 // Data-processing operands - Rotated immediate
60 // Data-processing operands - Logical shift/rotate by immediate
77 static bool CanHold(uint32_t immediate, ShifterOperand* shifter_op) {
78 // Avoid the more expensive test for frequent small immediate values.
79 if (immediate < (1 << kImmed8Bits)) {
81 shifter_op->encoding_ = (0 << kRotateShift) | (immediate << kImmed8Shift);
84 // Note that immediate must be unsigned for the test to work correctly.
86 uint32_t imm8 = (immediate << 2*rot) | (immediate >> (32 - 2*rot));
314 // Returns false if the immediate cannot be encoded.
431 // Emit data (e.g. encoded instruction or immediate) to the