Home | History | Annotate | Download | only in ia32

Lines Matching refs:Immediate

94   mov(destination, Immediate(index));
107 mov(scratch, Immediate(index));
118 mov(scratch, Immediate(index));
148 and_(scratch, Immediate(~Page::kPageAlignmentMask));
150 mov(scratch, Immediate(~Page::kPageAlignmentMask));
185 add(scratch, Immediate(kPointerSize));
190 test(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit));
219 test(result_reg, Immediate(0xFFFFFF00));
221 cmp(result_reg, Immediate(0x80000000));
223 mov(result_reg, Immediate(0));
225 sub(result_reg, Immediate(1));
226 and_(result_reg, Immediate(255));
229 Set(result_reg, Immediate(0));
232 Set(result_reg, Immediate(255));
239 test(reg, Immediate(0xFFFFFF00));
262 sub(esp, Immediate(kDoubleSize));
265 add(esp, Immediate(kDoubleSize));
271 sub(esp, Immediate(kDoubleSize));
274 add(esp, Immediate(kDoubleSize));
283 sub(esp, Immediate(kPointerSize));
296 sub(esp, Immediate(kPointerSize));
350 cmp(Operand(result_reg), Immediate(kTooBigExponent));
354 sub(Operand(esp), Immediate(kDoubleSize));
358 add(Operand(esp), Immediate(kDoubleSize));
365 sub(Operand(esp), Immediate(kDoubleSize));
368 add(esp, Immediate(kDoubleSize));
391 sub(esp, Immediate(kDoubleSize));
394 add(esp, Immediate(kDoubleSize));
443 sub(esp, Immediate(kPointerSize));
460 sub(esp, Immediate(kPointerSize));
480 cmp(src, Immediate(0));
495 cmp(src, Immediate(0));
502 add(esp, Immediate(kPointerSize));
519 test(value, Immediate(kSmiTagMask));
538 mov(value, Immediate(BitCast<int32_t>(kZapValue)));
539 mov(index, Immediate(BitCast<int32_t>(kZapValue)));
582 mov(value, Immediate(BitCast<int32_t>(kZapValue)));
583 mov(dst, Immediate(BitCast<int32_t>(kZapValue)));
636 mov(value, Immediate(map));
645 mov(value, Immediate(BitCast<int32_t>(kZapValue)));
646 mov(scratch1, Immediate(BitCast<int32_t>(kZapValue)));
647 mov(scratch2, Immediate(BitCast<int32_t>(kZapValue)));
710 mov(address, Immediate(BitCast<int32_t>(kZapValue)));
711 mov(value, Immediate(BitCast<int32_t>(kZapValue)));
718 Set(eax, Immediate(0));
719 mov(ebx, Immediate(ExternalReference(Runtime::kDebugBreak, isolate())));
732 void MacroAssembler::Set(Register dst, const Immediate& x) {
741 void MacroAssembler::Set(const Operand& dst, const Immediate& x) {
746 bool MacroAssembler::IsUnsafeImmediate(const Immediate& x) {
753 void MacroAssembler::SafeSet(Register dst, const Immediate& x) {
755 Set(dst, Immediate(x.x_ ^ jit_cookie()));
763 void MacroAssembler::SafePush(const Immediate& x) {
765 push(Immediate(x.x_ ^ jit_cookie()));
766 xor_(Operand(esp, 0), Immediate(jit_cookie()));
847 Immediate(kNaNOrInfinityLowerBoundUpper32));
872 cmp(FieldOperand(maybe_number, HeapNumber::kValueOffset), Immediate(0));
932 cmp(FieldOperand(obj, HeapObject::kMapOffset), Immediate(map));
945 test(instance_type, Immediate(kIsNotStringMask));
973 sub(scratch, Immediate(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
1008 Immediate(kSmiTagMask));
1016 test(object, Immediate(kSmiTagMask));
1029 test(object, Immediate(kSmiTagMask));
1042 test(object, Immediate(kSmiTagMask));
1053 push(Immediate(Smi::FromInt(StackFrame::STUB)));
1076 push(Immediate(Smi::FromInt(type)));
1077 push(Immediate(CodeObject()));
1079 cmp(Operand(esp, 0), Immediate(isolate()->factory()->undefined_value()));
1088 Immediate(Smi::FromInt(type)));
1105 push(Immediate(0)); // Saved entry sp, patched before call.
1106 push(Immediate(CodeObject())); // Accessed from ExitFrame::code_slot.
1121 sub(esp, Immediate(space));
1128 sub(esp, Immediate(argc * kPointerSize));
1194 mov(Operand::StaticVariable(context_address), Immediate(0));
1200 mov(Operand::StaticVariable(c_entry_fp_address), Immediate(0));
1228 push(Immediate(0)); // NULL frame pointer.
1229 push(Immediate(Smi::FromInt(0))); // No context.
1238 push(Immediate(state));
1253 add(esp, Immediate(StackHandlerConstants::kSize - kPointerSize));
1336 Immediate(StackHandler::KindField::kMask));
1369 cmp(scratch1, Immediate(0));
1430 mov(scratch, Immediate(Heap::kHashSeedRootIndex));
1437 xor_(r0, Immediate(seed));
1503 add(r2, Immediate(SeededNumberDictionary::GetProbeOffset(i)));
1529 Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize));
1561 mov(scratch, Immediate(allocation_top));
1571 test(result_end, Immediate(kObjectAlignmentMask));
1598 mov(result, Immediate(0x7091));
1600 mov(result_end, Immediate(0x7191));
1603 mov(scratch, Immediate(0x7291));
1623 test(result, Immediate(kDoubleAlignmentMask));
1630 Immediate(isolate()->factory()->one_pointer_filler_map()));
1631 add(result, Immediate(kDoubleSize / 2));
1640 add(top_reg, Immediate(object_size));
1652 sub(result, Immediate(object_size - kHeapObjectTag));
1654 sub(result, Immediate(object_size));
1676 mov(result, Immediate(0x7091));
1677 mov(result_end, Immediate(0x7191));
1679 mov(scratch, Immediate(0x7291));
1700 test(result, Immediate(kDoubleAlignmentMask));
1707 Immediate(isolate()->factory()->one_pointer_filler_map()));
1708 add(result, Immediate(kDoubleSize / 2));
1751 mov(result, Immediate(0x7091));
1752 mov(result_end, Immediate(0x7191));
1754 mov(scratch, Immediate(0x7291));
1775 test(result, Immediate(kDoubleAlignmentMask));
1782 Immediate(isolate()->factory()->one_pointer_filler_map()));
1783 add(result, Immediate(kDoubleSize / 2));
1812 and_(object, Immediate(~kHeapObjectTagMask));
1831 Immediate(isolate()->factory()->heap_number_map()));
1847 and_(scratch1, Immediate(~kObjectAlignmentMask));
1862 Immediate(isolate()->factory()->string_map()));
1867 Immediate(String::kEmptyHashField));
1882 add(scratch1, Immediate(kObjectAlignmentMask));
1883 and_(scratch1, Immediate(~kObjectAlignmentMask));
1898 Immediate(isolate()->factory()->ascii_string_map()));
1903 Immediate(String::kEmptyHashField));
1920 Immediate(isolate()->factory()->ascii_string_map()));
1922 Immediate(Smi::FromInt(length)));
1924 Immediate(String::kEmptyHashField));
1938 Immediate(isolate()->factory()->cons_string_map()));
1952 test(Operand::StaticVariable(high_promotion_mode), Immediate(1));
1974 Immediate(isolate()->factory()->cons_ascii_string_map()));
1988 Immediate(isolate()->factory()->sliced_string_map()));
2002 Immediate(isolate()->factory()->sliced_ascii_string_map()));
2022 cmp(length, Immediate(4));
2031 cmp(length, Immediate(8));
2033 cmp(length, Immediate(12));
2035 cmp(length, Immediate(16));
2041 and_(scratch, Immediate(0x3));
2080 add(start_offset, Immediate(kPointerSize));
2151 test(scratch, Immediate(1 << Map::kHasNonInstancePrototype));
2161 cmp(result, Immediate(isolate()->factory()->the_hole_value()));
2207 add(esp, Immediate(num_arguments * kPointerSize));
2209 mov(eax, Immediate(isolate()->factory()->undefined_value()));
2247 Set(eax, Immediate(num_arguments));
2248 mov(ebx, Immediate(ExternalReference(f, isolate())));
2257 mov(eax, Immediate(num_arguments));
2258 mov(ebx, Immediate(ref));
2272 Set(eax, Immediate(num_arguments));
2294 mov(esi, Immediate(BitCast<int32_t>(kZapValue)));
2316 add(Operand::StaticVariable(level_address), Immediate(1));
2323 Immediate(ExternalReference::isolate_address(isolate())));
2334 mov(eax, Immediate(reinterpret_cast<Address>(is_profiling_flag)));
2339 mov(thunk_last_arg, Immediate(function_address));
2354 Immediate(ExternalReference::isolate_address(isolate())));
2372 sub(Operand::StaticVariable(level_address), Immediate(1));
2382 Immediate(isolate()->factory()->the_hole_value()));
2442 Immediate(ExternalReference::isolate_address(isolate())));
2443 mov(eax, Immediate(delete_extensions));
2452 mov(ebx, Immediate(ext));
2490 if (expected.immediate() == actual.immediate()) {
2493 mov(eax, actual.immediate());
2495 if (expected.immediate() == sentinel) {
2503 mov(ebx, expected.immediate());
2508 // Expected is in register, actual is immediate. This is the
2511 cmp(expected.reg(), actual.immediate());
2514 mov(eax, actual.immediate());
2529 mov(edx, Immediate(code_constant));
2530 add(edx, Immediate(Code::kHeaderSize - kHeapObjectTag));
2817 void MacroAssembler::StoreToSafepointRegisterSlot(Register dst, Immediate src) {
2885 add(esp, Immediate(bytes_dropped));
2906 cmp(eax, Immediate(tos));
2915 add(esp, Immediate(stack_elements * kPointerSize));
2929 Immediate(value));
2941 add(operand, Immediate(value));
2954 sub(operand, Immediate(value));
3000 Immediate(factory->fixed_array_map()));
3003 Immediate(factory->fixed_double_array_map()));
3006 Immediate(factory->fixed_cow_array_map()));
3029 test(esp, Immediate(frame_alignment_mask));
3061 push(Immediate(p0));
3062 push(Immediate(reinterpret_cast<intptr_t>(Smi::FromInt(p1 - p0))));
3087 push(Immediate(Smi::FromInt(reason)));
3128 mov(scratch, Immediate(power + HeapNumber::kExponentBias));
3150 sub(mask, Immediate(1)); // Make mask.
3267 test(operand, Immediate(kIsNotStringMask | kIsNotInternalizedMask));
3289 and_(value, Immediate(kStringRepresentationMask | kStringEncodingMask));
3290 cmp(value, Immediate(encoding_mask));
3304 cmp(index, Immediate(Smi::FromInt(0)));
3318 sub(esp, Immediate((num_arguments + 1) * kPointerSize));
3323 sub(esp, Immediate(num_arguments * kPointerSize));
3331 mov(eax, Immediate(function));
3348 add(esp, Immediate(num_arguments * kPointerSize));
3394 and_(scratch, Immediate(~Page::kPageAlignmentMask));
3396 mov(scratch, Immediate(~Page::kPageAlignmentMask));
3403 test(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask));
3425 test(Operand::StaticVariable(reference), Immediate(mask));
3437 and_(scratch, Immediate(Smi::FromInt(Map::Deprecated::kMask)));
3487 mov(bitmap_reg, Immediate(~Page::kPageAlignmentMask));
3500 mov(mask_reg, Immediate(1));
3551 mov(length, Immediate(HeapNumber::kSize));
3574 mov(length, Immediate(ExternalString::kSize));
3580 and_(length, Immediate(kStringEncodingMask));
3581 xor_(length, Immediate(kStringEncodingMask));
3582 add(length, Immediate(0x04));
3591 add(length, Immediate(SeqString::kHeaderSize + kObjectAlignmentMask));
3592 and_(length, Immediate(~kObjectAlignmentMask));
3599 and_(bitmap_scratch, Immediate(~Page::kPageAlignmentMask));
3615 and_(dst, Immediate(Smi::FromInt(Map::EnumLengthBits::kMask)));
3628 cmp(edx, Immediate(Smi::FromInt(kInvalidEnumCacheSentinel)));
3638 cmp(edx, Immediate(Smi::FromInt(0)));
3666 cmp(scratch_reg, Immediate(new_space_start));
3671 Immediate(isolate()->factory()->allocation_memento_map()));
3694 cmp(scratch1, Immediate(DICTIONARY_ELEMENTS));
3697 cmp(current, Immediate(factory->null_value()));