Lines Matching defs:immediate

358   value_.immediate = static_cast<intptr_t>(handle.address());
1087 // immediate fits, change the opcode.
1128 // if they can be encoded in the ARM's 12 bits of immediate-offset instruction
1147 // Otherwise, use immediate load if movw / movt is available.
1164 !FitsShifter(immediate(), &dummy1, &dummy2, &instr)) {
1165 // The immediate operand cannot be encoded as a shifter operand, or use of
1167 // for the constant pool or immediate load
1171 // A movw / movt immediate load.
1179 // code, the constant pool or immediate load is enough, otherwise we need
1185 // No use of constant pool and the immediate operand can be encoded as a
1202 uint32_t imm32 = static_cast<uint32_t>(x.immediate());
1209 int32_t immediate;
1212 immediate = 0;
1214 immediate = x.immediate();
1216 ConstantPoolAddEntry(pc_offset(), x.rmode_, immediate);
1255 uint32_t imm = x.immediate();
1257 // The immediate encoding format is composed of 8 bits of data and 4
1263 // immediate allows us to more efficiently split it:
1271 // The immediate operand cannot be encoded as a shifter operand, so load
1306 !FitsShifter(x.immediate(), &rotate_imm, &immed_8, instr)) {
1685 void Assembler::movw(Register reg, uint32_t immediate, Condition cond) {
1687 emit(cond | 0x30 * B20 | reg.code() * B12 | EncodeMovwImmediate(immediate));
1690 void Assembler::movt(Register reg, uint32_t immediate, Condition cond) {
1692 emit(cond | 0x34 * B20 | reg.code() * B12 | EncodeMovwImmediate(immediate));
1709 mov(dst, Operand(src1, ASR, src2.immediate()), s, cond);
1718 mov(dst, Operand(src1, LSL, src2.immediate()), s, cond);
1727 mov(dst, Operand(src1, LSR, src2.immediate()), s, cond);
2072 !FitsShifter(src.immediate(), &rotate_imm, &immed_8, nullptr)) {
2705 // This checks if imm can be encoded into an immediate for vmov.
2765 // VMOV can accept an immediate of the form:
2769 // The immediate is encoded using an 8-bit quantity, comprised of two
2770 // 4-bit fields. For an 8-bit immediate of the form:
2774 // where a is the MSB and h is the LSB, an immediate 64-bit double can be
2801 // Create the encoded immediate in the form:
2817 // Sd = immediate
2840 // Dd = immediate
4676 // Qd = vshl(Qm, bits) SIMD shift left immediate.
4694 // Dd = vshr(Dm, bits) SIMD shift right immediate.
4703 // Qd = vshr(Qm, bits) SIMD shift right immediate.
5114 EncodeMovwImmediate(0xFFFF)); // mask out immediate value
5121 EncodeMovwImmediate(0xFFFF)); // mask out immediate value
5129 Instr Assembler::EncodeMovwImmediate(uint32_t immediate) {
5130 DCHECK_LT(immediate, 0x10000);
5131 return ((immediate & 0xF000) << 4) | (immediate & 0xFFF);
5134 Instr Assembler::PatchMovwImmediate(Instr instruction, uint32_t immediate) {
5136 return instruction | EncodeMovwImmediate(immediate);