Lines Matching full:immediate
263 void Immediate::InitializeHandle(Handle<Object> handle) {
1684 void Assembler::ldr(const CPURegister& rt, const Immediate& imm) {
1697 // Moves involving the stack pointer are encoded as add immediate with
1932 // Although the fcmp instruction can strictly only take an immediate value of
2128 // Ignore the top 32 bits of an immediate if we're moving to a W register.
2143 // Calculate a new immediate and shift combination to encode the immediate
2177 int64_t immediate = operand.ImmediateValue();
2178 DCHECK(IsImmAddSub(immediate));
2181 ImmAddSub(static_cast<int>(immediate)) | dest_reg | RnSP(rn));
2284 int64_t immediate = operand.ImmediateValue();
2287 DCHECK(immediate != 0);
2288 DCHECK(immediate != -1);
2289 DCHECK(rd.Is64Bits() || is_uint32(immediate));
2291 // If the operation is NOT, invert the operation and immediate.
2294 immediate = rd.Is64Bits() ? ~immediate : (~immediate & kWRegMask);
2298 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) {
2299 // Immediate can be encoded in the instruction.
2336 int64_t immediate = operand.ImmediateValue();
2337 DCHECK(IsImmConditionalCompare(immediate));
2339 ImmCondCmp(static_cast<unsigned>(immediate));
2470 bool Assembler::IsImmAddSub(int64_t immediate) {
2471 return is_uint12(immediate) ||
2472 (is_uint12(immediate >> 12) && ((immediate & 0xfff) == 0));
2555 // Test if a given value can be encoded in the immediate field of a logical
2588 // Put another way: the basic format of a logical immediate is a single
2592 // is different for every logical immediate, so it gives us all the
2593 // information we need to identify the only logical immediate that our input
2599 // valid logical immediate. So we simply invert the input whenever its low bit
2612 // as a logical immediate will also be the correct encoding of the 32-bit
2635 // tells us that the only valid logical immediate that could possibly be equal
2693 // actually construct the valid logical immediate derived from that
2719 // We have a match! This is a valid logical immediate, so now we have to
2764 bool Assembler::IsImmConditionalCompare(int64_t immediate) {
2765 return is_uint5(immediate);