Lines Matching full:immediate
421 Immediate(0));
430 __ cmp(ContextOperand(context, Context::EXTENSION_INDEX), Immediate(0));
581 // For a variable that rewrites to a slot, we signal it is the immediate
640 __ cmp(Operand(probe.reg()), Immediate(Factory::the_hole_value()));
747 __ test(value.reg(), Immediate(kSmiTagMask));
772 __ test(value.reg(), Immediate(kSmiTagMask));
897 __ test(left_, Immediate(kSmiTagMask));
920 __ test(right_, Immediate(kSmiTagMask));
1278 __ test(left->reg(), Immediate(kSmiTagMask));
1285 __ test(eax, Immediate(kSmiTagMask));
1376 __ test(answer.reg(), Immediate(kSmiTagMask));
1402 __ test(answer.reg(), Immediate(0xc0000000));
1449 __ test(left->reg(), Immediate(kSmiTagMask));
1454 __ test(answer.reg(), Immediate(kSmiTagMask));
1615 __ sub(Operand(dst_), Immediate(value_));
1645 __ sub(Operand(dst_), Immediate(value_));
1676 __ add(Operand(dst_), Immediate(value_));
1728 __ add(Operand(operand->reg()), Immediate(value));
1730 __ test(operand->reg(), Immediate(kSmiTagMask));
1745 __ Set(answer.reg(), Immediate(value));
1759 __ sub(Operand(operand->reg()), Immediate(value));
1762 __ test(answer.reg(), Immediate(kSmiTagMask));
1786 __ test(operand->reg(), Immediate(kSmiTagMask));
1815 __ test(operand->reg(), Immediate(kSmiTagMask));
1822 __ test(answer.reg(), Immediate(0xc0000000));
1859 __ mov(answer.reg(), Immediate(int_value));
1882 __ test(operand->reg(), Immediate(kSmiTagMask));
1896 __ test(operand->reg(), Immediate(kSmiTagMask));
1933 __ test(operand->reg(), Immediate(kSmiTagMask));
1936 __ and_(Operand(operand->reg()), Immediate(value));
1939 __ xor_(Operand(operand->reg()), Immediate(value));
1944 __ or_(Operand(operand->reg()), Immediate(value));
1967 __ test(operand->reg(), Immediate(3));
1998 __ test(operand->reg(), Immediate(kSmiTagMask | 0x80000000));
2002 __ mov(operand->reg(), Immediate(Smi::FromInt(0)));
2121 __ test(left_side.reg(), Immediate(kSmiTagMask));
2134 Immediate(Factory::heap_number_map()));
2143 __ mov(temp.reg(), Immediate(value));
2182 __ cmp(Operand(left_side.reg()), Immediate(right_side.handle()));
2209 __ test(operand.reg(), Immediate(kSmiTagMask));
2220 __ test(temp.reg(), Immediate(1 << Map::kIsUndetectable));
2268 __ test(left_side.reg(), Immediate(kSmiTagMask));
2284 __ test(temp.reg(), Immediate(kIsSymbolMask)); // Test the symbol bit.
2319 Immediate(1));
2329 __ sub(Operand(temp2.reg()), Immediate(1));
2342 __ cmp(Operand(temp2.reg()), Immediate(char_value));
2348 Immediate(1));
2394 __ test(temp.reg(), Immediate(kSmiTagMask));
2499 __ cmp(Operand(probe.reg()), Immediate(Factory::the_hole_value()));
2516 __ test(eax, Immediate(kSmiTagMask));
2529 __ test(eax, Immediate(kSmiTagMask));
2536 Immediate(apply_code));
2541 __ test(edi, Immediate(kSmiTagMask));
2552 Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
2556 __ mov(eax, Immediate(scope()->num_parameters()));
2593 __ add(Operand(esp), Immediate(2 * kPointerSize));
2718 frame_->EmitPush(Immediate(pairs));
2719 frame_->EmitPush(Immediate(Smi::FromInt(is_eval() ? 1 : 0)));
2742 frame_->EmitPush(Immediate(var->name()));
2746 frame_->EmitPush(Immediate(Smi::FromInt(attr)));
2752 frame_->EmitPush(Immediate(Factory::the_hole_value()));
2756 frame_->EmitPush(Immediate(Smi::FromInt(0))); // no initial value!
3520 __ test(eax, Immediate(kSmiTagMask));
3549 __ cmp(Operand(edx), Immediate(Factory::empty_fixed_array()));
3556 __ cmp(Operand(edx), Immediate(Factory::empty_descriptor_array()));
3562 __ test(edx, Immediate(kSmiTagMask));
3568 __ cmp(Operand(edx), Immediate(Factory::empty_fixed_array()));
3573 __ cmp(Operand(ecx), Immediate(Factory::null_value()));
3613 frame_->EmitPush(Immediate(Smi::FromInt(0))); // <- slot 0
3618 frame_->EmitPush(Immediate(Smi::FromInt(0))); // <- slot 3
3625 frame_->EmitPush(Immediate(Smi::FromInt(0))); // <- slot 0
3700 __ add(Operand(eax), Immediate(Smi::FromInt(1)));
3867 __ Set(ecx, Immediate(Smi::FromInt(THROWING)));
3924 frame_->EmitPush(Immediate(Factory::undefined_value()));
3925 __ Set(ecx, Immediate(Smi::FromInt(FALLING)));
3967 frame_->EmitPush(Immediate(Factory::undefined_value()));
3969 __ Set(ecx, Immediate(Smi::FromInt(JUMPING + i)));
4000 __ cmp(Operand(ecx), Immediate(Smi::FromInt(JUMPING + i)));
4025 __ cmp(Operand(ecx), Immediate(Smi::FromInt(THROWING)));
4064 frame()->EmitPush(Immediate(boilerplate));
4070 frame()->EmitPush(Immediate(boilerplate));
4179 frame()->EmitPush(Immediate(slot->var()->name()));
4255 __ cmp(Operand(result.reg()), Immediate(Factory::the_hole_value()));
4281 Immediate(0));
4306 Immediate(Factory::global_context_map()));
4309 __ cmp(ContextOperand(tmp.reg(), Context::EXTENSION_INDEX), Immediate(0));
4349 frame_->EmitPush(Immediate(slot->var()->name()));
4467 __ push(Immediate(bits & 0x0000FFFF));
4468 __ or_(Operand(esp, 0), Immediate(bits & 0xFFFF0000));
4475 __ mov(Operand(ebp, offset), Immediate(bits & 0x0000FFFF));
4476 __ or_(Operand(ebp, offset), Immediate(bits & 0xFFFF0000));
4484 __ Set(target, Immediate(bits & 0x0000FFFF));
4523 __ push(Immediate(Smi::FromInt(node_->literal_index())));
4525 __ push(Immediate(node_->pattern()));
4527 __ push(Immediate(node_->flags()));
5097 frame_->EmitPush(Immediate(var->name()));
5240 __ test(value.reg(), Immediate(kSmiTagMask));
5273 __ test(value.reg(), Immediate(kSmiTagMask | 0x80000000));
5344 __ test(object.reg(), Immediate(kSmiTagMask));
5349 __ test(index.reg(), Immediate(kSmiTagMask | 0x80000000));
5359 __ test(ecx, Immediate(kIsNotStringMask));
5373 __ test(temp.reg(), Immediate(kStringRepresentationMask));
5376 __ test(temp.reg(), Immediate(kStringEncodingMask));
5418 __ Set(temp.reg(), Immediate(Factory::undefined_value()));
5431 __ test(value.reg(), Immediate(kSmiTagMask));
5450 __ test(value.reg(), Immediate(kSmiTagMask));
5471 __ test(obj.reg(), Immediate(kSmiTagMask));
5481 __ test(map.reg(), Immediate(1 << Map::kIsUndetectable));
5501 __ test(obj.reg(), Immediate(kSmiTagMask));
5517 __ test(obj.reg(), Immediate(kSmiTagMask));
5525 __ test(temp.reg(), Immediate(1 << Map::kIsUndetectable));
5542 Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
5549 Immediate(Smi::FromInt(StackFrame::CONSTRUCT)));
5576 __ test(obj.reg(), Immediate(kSmiTagMask));
5640 __ test(object.reg(), Immediate(kSmiTagMask));
5666 __ test(object.reg(), Immediate(kSmiTagMask));
5926 frame_->EmitPush(Immediate(variable->name()));
5931 frame_->EmitPush(Immediate(variable->name()));
5992 __ test(operand.reg(), Immediate(kSmiTagMask));
6015 __ test(operand.reg(), Immediate(kSmiTagMask));
6058 __ sub(Operand(dst_), Immediate(Smi::FromInt(1)));
6060 __ add(Operand(dst_), Immediate(Smi::FromInt(1)));
6065 __ push(Immediate(Smi::FromInt(1)));
6099 __ sub(Operand(dst_), Immediate(Smi::FromInt(1)));
6101 __ add(Operand(dst_), Immediate(Smi::FromInt(1)));
6111 __ push(Immediate(Smi::FromInt(1)));
6171 __ Set(tmp.reg(), Immediate(0));
6185 __ add(Operand(new_value.reg()), Immediate(Smi::FromInt(1)));
6187 __ sub(Operand(new_value.reg()), Immediate(Smi::FromInt(1)));
6198 __ test(tmp.reg(), Immediate(kSmiTagMask));
6204 __ test(new_value.reg(), Immediate(kSmiTagMask));
6410 __ test(answer.reg(), Immediate(kSmiTagMask));
6419 __ test(answer.reg(), Immediate(kSmiTagMask));
6427 __ test(temp.reg(), Immediate(1 << Map::kIsUndetectable));
6445 __ test(answer.reg(), Immediate(kSmiTagMask));
6453 __ test(answer.reg(), Immediate(1 << Map::kIsUndetectable));
6458 __ test(answer.reg(), Immediate(kSmiTagMask));
6468 __ test(answer.reg(), Immediate(kSmiTagMask));
6481 __ test(map.reg(), Immediate(1 << Map::kIsUndetectable));
6507 __ test(lhs.reg(), Immediate(kSmiTagMask));
6517 __ cmp(Operand(scratch.reg()), Immediate(0xfff00000));
6521 __ cmp(Operand(scratch.reg()), Immediate(borderline_exponent));
6618 __ Set(ecx, Immediate(name_));
6630 masm_->test(eax, Immediate(-delta_to_patch_site));
6694 masm_->test(eax, Immediate(-delta_to_patch_site));
6740 masm_->test(eax, Immediate(-delta_to_patch_site));
6782 __ test(receiver.reg(), Immediate(kSmiTagMask));
6790 Immediate(Factory::null_value()));
6856 __ test(receiver.reg(), Immediate(kSmiTagMask));
6865 Immediate(Factory::null_value()));
6869 __ test(key.reg(), Immediate(kSmiTagMask));
6877 Immediate(Factory::fixed_array_map()));
6894 __ cmp(Operand(result.reg()), Immediate(Factory::the_hole_value()));
6949 __ test(result.reg(), Immediate(kSmiTagMask));
6954 __ test(key.reg(), Immediate(kSmiTagMask | 0x80000000));
6958 __ test(receiver.reg(), Immediate(kSmiTagMask));
6985 Immediate(Factory::fixed_array_map()));
7214 __ mov(FieldOperand(eax, Array::kLengthOffset), Immediate(length));
7417 __ push(Immediate(right));
7423 __ mov(right_arg, Immediate(right));
7425 __ mov(left_arg, Immediate(right));
7433 __ mov(right_arg, Immediate(right));
7452 __ push(Immediate(left));
7459 __ mov(left_arg, Immediate(left));
7461 __ mov(right_arg, Immediate(left));
7469 __ mov(left_arg, Immediate(left));
7558 __ test(combined, Immediate(kSmiTagMask));
7617 __ test(left, Immediate(0xc0000000));
7915 __ test(eax, Immediate(0xc0000000));
7939 __ test(eax, Immediate(kSmiTagMask));
7985 __ test(edx, Immediate(kSmiTagMask));
7991 __ test(eax, Immediate(kSmiTagMask));
8023 __ test(eax, Immediate(kSmiTagMask));
8091 __ test(edx, Immediate(kSmiTagMask));
8107 __ test(eax, Immediate(kSmiTagMask));
8154 __ test(eax, Immediate(kSmiTagMask));
8160 __ sub(Operand(esp), Immediate(2 * kPointerSize));
8170 __ cmp(Operand(ebx), Immediate(Factory::heap_number_map()));
8193 __ and_(Operand(ecx), Immediate(TranscendentalCache::kCacheSize - 1));
8199 Immediate(ExternalReference::transcendental_cache_array_address()));
8280 __ and_(Operand(edi), Immediate(0x7ff00000)); // Exponent only.
8283 __ cmp(Operand(edi), Immediate(supported_exponent_limit));
8286 __ cmp(Operand(edi), Immediate(0x7ff00000));
8292 __ push(Immediate(0x7ff80000));
8293 __ push(Immediate(0));
8295 __ add(Operand(esp), Immediate(2 * kPointerSize));
8311 __ test(Operand(eax), Immediate(5));
8324 __ test(Operand(eax), Immediate(0x400 /* C2 */));
8372 __ cmp(Operand(scratch2), Immediate(kTooBigExponent));
8377 __ sub(Operand(esp), Immediate(sizeof(uint64_t))); // Nolint.
8381 __ add(Operand(esp), Immediate(sizeof(uint64_t))); // Nolint.
8392 __ cmp(Operand(scratch2), Immediate(non_smi_exponent));
8405 __ cmp(Operand(scratch2), Immediate(big_non_smi_exponent));
8440 __ sub(Operand(scratch2), Immediate(zero_exponent));
8446 __ mov(ecx, Immediate(30));
8495 __ test(edx, Immediate(kSmiTagMask));
8504 __ mov(edx, Immediate(0));
8518 __ test(eax, Immediate(kSmiTagMask));
8528 __ mov(ecx, Immediate(0));
8546 __ test(number, Immediate(kSmiTagMask));
8564 __ test(edx, Immediate(kSmiTagMask));
8570 __ test(eax, Immediate(kSmiTagMask));
8594 __ test(edx, Immediate(kSmiTagMask));
8601 __ test(eax, Immediate(kSmiTagMask));
8646 __ test(scratch, Immediate(kSmiTagMask));
8656 __ test(scratch, Immediate(kSmiTagMask));
8702 __ test(edx, Immediate(kSmiTagMask));
8709 __ test(eax, Immediate(kSmiTagMask));
8726 __ test(eax, Immediate(kSmiTagMask));
8738 __ Set(eax, Immediate(0));
8743 __ test(eax, Immediate(kSmiTagMask));
8840 __ cmp(Operand(ecx), Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
8870 __ test(edx, Immediate(kSmiTagMask));
8877 __ cmp(Operand(ecx), Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
8933 __ cmp(Operand(ecx), Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
8955 __ add(Operand(ecx), Immediate(Heap::kArgumentsObjectSize));
8996 Immediate(Factory::fixed_array_map()));
9004 __ add(Operand(edi), Immediate(kPointerSize));
9005 __ sub(Operand(edx), Immediate(kPointerSize));
9057 __ test(eax, Immediate(kSmiTagMask));
9064 __ test(ecx, Immediate(kSmiTagMask));
9073 __ cmp(Operand(ebx), Immediate(Smi::FromInt(JSRegExp::IRREGEXP)));
9083 __ add(Operand(edx), Immediate(2)); // edx was a smi.
9092 __ test(eax, Immediate(kSmiTagMask));
9114 __ test(eax, Immediate(kSmiTagMask));
9126 __ add(Operand(edx), Immediate(RegExpImpl::kLastMatchOverhead));
9143 Immediate(kIsNotStringMask | kStringRepresentationMask));
9162 __ test(ebx, Immediate(kStringRepresentationMask));
9179 __ Set(edi, Immediate(1)); // Type is ascii.
9186 __ Set(edi, Immediate(0)); // Type is two byte.
9211 __ push(Immediate(1));
9219 __ push(Immediate(ExternalReference::address_of_static_offsets_vector()));
9248 __ add(Operand(edx), Immediate(Code::kHeaderSize - kHeapObjectTag));
9251 __ add(Operand(esp), Immediate(7 * kPointerSize));
9285 __ add(Operand(edx), Immediate(2)); // edx was a smi.
9311 __ mov(ecx, Immediate(address_of_static_offsets_vector));
9321 __ sub(Operand(edx), Immediate(1));
9365 __ test(object, Immediate(kSmiTagMask));
9376 __ mov(scratch, Immediate(Heap::kNumberStringCacheRootIndex));
9383 __ sub(Operand(mask), Immediate(1)); // Make mask.
9440 __ Set(eax, Immediate(0));
9447 Immediate(Factory::heap_number_map()));
9450 __ Set(eax, Immediate(0));
9489 __ mov(ecx, Immediate(kSmiTagMask));
9498 __ sub(Operand(ecx), Immediate(0x01));
9507 Immediate(Factory::heap_number_map()));
9577 __ mov(ecx, Immediate(Smi::FromInt(1)));
9579 __ mov(ecx, Immediate(Smi::FromInt(-1)));
9600 __ mov(eax, Immediate(Smi::FromInt(-1)));
9604 __ mov(eax, Immediate(Smi::FromInt(1)));
9612 __ mov(eax, Immediate(Smi::FromInt(1)));
9614 __ mov(eax, Immediate(Smi::FromInt(-1)));
9667 __ push(Immediate(Smi::FromInt(ncr)));
9683 __ test(object, Immediate(kSmiTagMask));
9699 __ push(Immediate(Smi::FromInt(0)));
9719 __ test(eax, Immediate(kSmiTagMask));
9742 __ test(edi, Immediate(kSmiTagMask));
9757 __ Set(eax, Immediate(argc_));
9758 __ Set(ebx, Immediate(0));
9834 __ add(Operand(ebx), Immediate(3 * kPointerSize));
9836 __ mov(Operand(esp, 3 * kPointerSize), Immediate(0)); // out cell.
9844 Immediate(Factory::the_hole_value()));
9921 __ test(ecx, Immediate(kFailureTagMask));
9934 __ test(eax, Immediate(((1 << kFailureTypeTagSize) - 1) << kFailureTagSize));
9975 __ cmp(Operand(esp, kStateOffset), Immediate(StackHandler::ENTRY));
10056 __ mov(eax, Immediate(reinterpret_cast<int32_t>(failure)));
10087 __ push(Immediate(Smi::FromInt(marker))); // context slot
10088 __ push(Immediate(Smi::FromInt(marker))); // function slot
10101 __ cmp(Operand::StaticVariable(js_entry_sp), Immediate(0));
10127 __ push(Immediate(0)); // receiver
10135 __ mov(edx, Immediate(construct_entry));
10138 __ mov(edx, Immediate(entry));
10147 __ add(Operand(esp), Immediate(StackHandlerConstants::kSize - kPointerSize));
10154 __ mov(Operand::StaticVariable(js_entry_sp), Immediate(0));
10166 __ add(Operand(esp), Immediate(2 * kPointerSize)); // remove markers
10178 __ test(eax, Immediate(kSmiTagMask));
10194 __ test(ebx, Immediate(kSmiTagMask));
10211 __ cmp(Operand(ecx), Immediate(Factory::null_value()));
10218 __ Set(eax, Immediate(0));
10222 __ Set(eax, Immediate(Smi::FromInt(1)));
10292 __ test(eax, Immediate(kSmiTagMask));
10298 __ test(edx, Immediate(kSmiTagMask));
10354 __ Set(ebx, Immediate(2));
10375 __ test(ecx, Immediate(kAsciiStringTag));
10383 Immediate(String::kEmptyHashField));
10418 __ test(ecx, Immediate(kAsciiStringTag));
10422 __ test(ecx, Immediate(kAsciiStringTag));
10432 __ add(Operand(ecx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag));
10436 __ add(Operand(edx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag));
10445 __ add(Operand(edx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag));
10470 Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag));
10475 Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag));
10484 __ add(Operand(edx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag));
10512 __ add(Operand(src), Immediate(1));
10513 __ add(Operand(dest), Immediate(1));
10517 __ add(Operand(src), Immediate(2));
10518 __ add(Operand(dest), Immediate(2));
10520 __ sub(Operand(count), Immediate(1));
10553 __ test(count, Immediate(~3));
10575 __ add(Operand(src), Immediate(1));
10576 __ add(Operand(dest), Immediate(1));
10577 __ sub(Operand(count), Immediate(1));
10598 __ sub(Operand(scratch), Immediate(static_cast<int>('0')));
10599 __ cmp(Operand(scratch), Immediate(static_cast<int>('9' - '0')));
10602 __ sub(Operand(scratch), Immediate(static_cast<int>('0')));
10603 __ cmp(Operand(scratch), Immediate(static_cast<int>('9' - '0')));
10624 __ mov(scratch, Immediate(Heap::kSymbolTableRootIndex));
10635 __ sub(Operand(mask), Immediate(1));
10652 __ add(Operand(scratch), Immediate(SymbolTable::GetProbeOffset(i)));
10674 __ cmp(FieldOperand(candidate, String::kLengthOffset), Immediate(2));
10763 __ mov(hash, Immediate(27));
10780 __ test(eax, Immediate(kSmiTagMask));
10790 __ test(ecx, Immediate(kSmiTagMask));
10793 __ test(edx, Immediate(kSmiTagMask));
10828 __ Set(ecx, Immediate(2));
10846 __ add(Operand(edi), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag));
10849 __ add(Operand(esi), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag));
10881 Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag));
10885 Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag));
10960 __ add(Operand(index), Immediate(1));
10972 __ Set(eax, Immediate(Smi::FromInt(EQUAL)));
10979 __ Set(eax, Immediate(Smi::FromInt(LESS)));
10984 __ Set(eax, Immediate(Smi::FromInt(GREATER)));
11005 __ Set(eax, Immediate(Smi::FromInt(EQUAL)));