Home | History | Annotate | Download | only in x64

Lines Matching refs:Immediate

168     push(Immediate(static_cast<int32_t>(address)));
239 addq(scratch, Immediate(kPointerSize));
245 testq(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit));
299 Immediate(static_cast<int32_t>(isolate()->heap()->NewSpaceMask())));
329 testb(dst, Immediate((1 << kPointerSizeLog2) - 1));
486 testq(rsp, Immediate(frame_alignment_mask));
574 addq(rsp, Immediate(num_arguments * kPointerSize));
590 and_(hash, Immediate(String::kArrayIndexValueMask));
591 shr(hash, Immediate(String::kHashShift));
706 addl(Operand(base_reg, kLevelOffset), Immediate(1));
724 cmpb(Operand(rax, 0), Immediate(0));
757 subl(Operand(base_reg, kLevelOffset), Immediate(1));
900 subq(rsp, Immediate(kDoubleSize * XMMRegister::kMaxNumRegisters));
918 addq(rsp, Immediate(kDoubleSize * XMMRegister::kMaxNumRegisters));
977 movl(dst, Immediate(static_cast<uint32_t>(x)));
979 movq(dst, Immediate(static_cast<int32_t>(x)));
988 movq(dst, Immediate(static_cast<int32_t>(x)));
1100 shl(dst, Immediate(kSmiShift));
1106 testb(dst, Immediate(0x01));
1121 addl(dst, Immediate(constant));
1125 shl(dst, Immediate(kSmiShift));
1134 shr(dst, Immediate(kSmiShift));
1148 sar(dst, Immediate(kSmiShift));
1203 cmpl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(src->value()));
1233 sar(dst, Immediate(kSmiShift - power));
1235 shl(dst, Immediate(power - kSmiShift));
1245 shr(dst, Immediate(power + kSmiShift));
1272 testb(src, Immediate(kSmiTagMask));
1279 testb(src, Immediate(kSmiTagMask));
1288 rol(kScratchRegister, Immediate(1));
1289 testb(kScratchRegister, Immediate(3));
1300 testb(kScratchRegister, Immediate(0x03));
1312 rol(kScratchRegister, Immediate(1));
1313 testl(kScratchRegister, Immediate(3));
1332 testb(scratch, Immediate(kSmiTagMask));
1361 andl(dst, Immediate(kSmiTagMask));
1363 movl(dst, Immediate(kSmiTagMask));
1371 movl(dst, Immediate(kSmiTagMask));
1375 andl(dst, Immediate(kSmiTagMask));
1498 addl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(constant->value()));
1862 testl(rax, Immediate(0x7fffffff));
1921 cmpl(rax, Immediate(Smi::kMinValue));
1923 cmpl(src2, Immediate(-1));
1957 movl(kScratchRegister, Immediate(~0));
2038 sar(dst, Immediate(shift_value + kSmiShift));
2039 shl(dst, Immediate(kSmiShift));
2054 shl(dst, Immediate(shift_value));
2071 shr(dst, Immediate(shift_value + kSmiShift));
2072 shl(dst, Immediate(kSmiShift));
2087 and_(rcx, Immediate(0x1f));
2110 orl(rcx, Immediate(kSmiShift));
2112 shl(dst, Immediate(kSmiShift));
2147 orl(rcx, Immediate(kSmiShift));
2149 shl(dst, Immediate(kSmiShift));
2175 movl(kScratchRegister, Immediate(kSmiTagMask));
2184 subq(kScratchRegister, Immediate(1));
2205 sar(dst, Immediate(kSmiShift - shift));
2207 shl(dst, Immediate(shift - kSmiShift));
2222 sar(dst, Immediate(kSmiShift - shift));
2224 shl(dst, Immediate(shift - kSmiShift));
2239 push(Immediate(static_cast<int32_t>(smi)));
2250 shr(src, Immediate(64 - kSmiShift));
2251 shl(src, Immediate(kSmiShift));
2254 shl(scratch, Immediate(kSmiShift));
2262 shr(scratch, Immediate(kSmiShift));
2264 shr(dst, Immediate(kSmiShift));
2266 shl(dst, Immediate(64 - kSmiShift));
2272 testl(Operand(src, kIntSize), Immediate(source->value()));
2296 shrl(mask, Immediate(1));
2297 subq(mask, Immediate(1)); // Make mask.
2319 shl(scratch, Immediate(kPointerSizeLog2 + 1));
2342 shl(scratch, Immediate(kPointerSizeLog2 + 1));
2398 andl(scratch1, Immediate(kFlatAsciiStringMask));
2399 andl(scratch2, Immediate(kFlatAsciiStringMask));
2404 Immediate(kFlatAsciiStringTag + (kFlatAsciiStringTag << 3)));
2421 andl(scratch, Immediate(kFlatAsciiStringMask));
2422 cmpl(scratch, Immediate(kStringTag | kSeqStringTag | kOneByteStringTag));
2445 andl(scratch1, Immediate(kFlatAsciiStringMask));
2446 andl(scratch2, Immediate(kFlatAsciiStringMask));
2451 Immediate(kFlatAsciiStringTag + (kFlatAsciiStringTag << 3)));
2464 Immediate(kIsNotStringMask | kIsNotInternalizedMask));
2466 masm->cmpb(operand_or_register, Immediate(static_cast<uint8_t>(SYMBOL_TYPE)));
2575 addq(rsp, Immediate(stack_elements * kPointerSize));
2583 testb(Operand(src, byte_offset), Immediate(1 << bit_in_byte));
2695 addq(rsp, Immediate(kNumSafepointRegisters * kPointerSize));
2723 const Immediate& imm) {
2760 push(Immediate(0)); // NULL frame pointer.
2771 push(Immediate(state));
2786 addq(rsp, Immediate(StackHandlerConstants::kSize - kPointerSize));
2795 shr(rdx, Immediate(StackHandler::kKindWidth));
2872 Immediate(StackHandler::KindField::kMask));
2900 addq(rsp, Immediate(bytes_dropped));
2923 Immediate(static_cast<int8_t>(type)));
2935 Immediate(Map::kMaximumBitField2FastHoleyElementValue));
2948 Immediate(Map::kMaximumBitField2FastHoleySmiElementValue));
2951 Immediate(Map::kMaximumBitField2FastHoleyElementValue));
2962 Immediate(Map::kMaximumBitField2FastHoleySmiElementValue));
2986 Immediate(kNaNOrInfinityLowerBoundUpper32));
3001 cmpl(FieldOperand(maybe_number, HeapNumber::kValueOffset), Immediate(0));
3043 testl(reg, Immediate(0xFFFFFF00));
3058 testl(result_reg, Immediate(0xFFFFFF00));
3060 cmpl(result_reg, Immediate(0x80000000));
3062 movl(result_reg, Immediate(0));
3064 subl(result_reg, Immediate(1));
3065 andl(result_reg, Immediate(255));
3080 cmpq(src, Immediate(0xffffffff));
3106 subq(rsp, Immediate(kDoubleSize));
3109 addq(rsp, Immediate(kDoubleSize));
3126 subq(rsp, Immediate(kDoubleSize));
3129 addq(rsp, Immediate(kDoubleSize));
3156 andl(result_reg, Immediate(1));
3189 andl(result_reg, Immediate(1));
3314 testb(object, Immediate(kSmiTagMask));
3327 testb(object, Immediate(kSmiTagMask));
3357 testb(instance_type, Immediate(kIsNotStringMask));
3367 cmpb(instance_type, Immediate(static_cast<uint8_t>(LAST_NAME_TYPE)));
3377 testl(function, Immediate(kSmiTagMask));
3398 Immediate(1 << Map::kHasNonInstancePrototype));
3433 movl(counter_operand, Immediate(value));
3445 addl(counter_operand, Immediate(value));
3458 subl(counter_operand, Immediate(value));
3632 if (expected.immediate() == actual.immediate()) {
3635 Set(rax, actual.immediate());
3636 if (expected.immediate() ==
3645 Set(rbx, expected.immediate());
3650 // Expected is in register, actual is immediate. This is the
3653 cmpq(expected.reg(), Immediate(actual.immediate()));
3656 Set(rax, actual.immediate());
3671 addq(rdx, Immediate(Code::kHeaderSize - kHeapObjectTag));
3757 push(Immediate(0)); // Saved entry sp, patched before call.
3781 subq(rsp, Immediate(space));
3788 subq(rsp, Immediate(arg_stack_space * kPointerSize));
3796 and_(rsp, Immediate(-kFrameAlignment));
3862 movq(context_operand, Immediate(0));
3869 movq(c_entry_fp_operand, Immediate(0));
3885 cmpq(scratch, Immediate(0));
3955 shll(scratch, Immediate(15));
3959 shrl(scratch, Immediate(12));
3965 shrl(scratch, Immediate(4));
3968 imull(r0, r0, Immediate(2057));
3971 shrl(scratch, Immediate(16));
4020 addl(r2, Immediate(SeededNumberDictionary::GetProbeOffset(i)));
4090 testq(result_end, Immediate(kObjectAlignmentMask));
4118 movl(result, Immediate(0x7091));
4120 movl(result_end, Immediate(0x7191));
4123 movl(scratch, Immediate(0x7291));
4137 testq(result, Immediate(kDoubleAlignmentMask));
4150 addq(top_reg, Immediate(object_size));
4162 subq(result, Immediate(object_size - kHeapObjectTag));
4164 subq(result, Immediate(object_size));
4198 movl(result, Immediate(0x7091));
4199 movl(result_end, Immediate(0x7191));
4201 movl(scratch, Immediate(0x7291));
4216 testq(result, Immediate(kDoubleAlignmentMask));
4237 addq(result, Immediate(kHeapObjectTag));
4247 and_(object, Immediate(~kHeapObjectTagMask));
4283 and_(scratch1, Immediate(~kObjectAlignmentMask));
4285 subq(scratch1, Immediate(kHeaderAlignment));
4304 Immediate(String::kEmptyHashField));
4320 addq(scratch1, Immediate(kObjectAlignmentMask + kHeaderAlignment));
4321 and_(scratch1, Immediate(~kObjectAlignmentMask));
4323 subq(scratch1, Immediate(kHeaderAlignment));
4342 Immediate(String::kEmptyHashField));
4371 testb(scratch1, Immediate(1));
4440 cmpl(length, Immediate(min_length));
4447 cmpl(length, Immediate(kPointerSize));
4456 cmpl(length, Immediate(2 * kPointerSize));
4458 cmpl(length, Immediate(3 * kPointerSize));
4460 cmpl(length, Immediate(4 * kPointerSize));
4468 shrl(length, Immediate(kPointerSizeLog2));
4471 andl(scratch, Immediate(kPointerSize - 1));
4519 addq(start_offset, Immediate(kPointerSize));
4676 andb(value, Immediate(kStringRepresentationMask | kStringEncodingMask));
4677 cmpq(value, Immediate(encoding_mask));
4706 subq(rsp, Immediate((argument_slots_on_stack + 1) * kPointerSize));
4707 and_(rsp, Immediate(-frame_alignment));
4776 and_(scratch, Immediate(~Page::kPageAlignmentMask));
4778 movq(scratch, Immediate(~Page::kPageAlignmentMask));
4783 Immediate(static_cast<uint8_t>(mask)));
4785 testl(Operand(scratch, MemoryChunk::kFlagsOffset), Immediate(mask));
4798 and_(scratch, Immediate(Map::Deprecated::kMask));
4843 Immediate(kIsIndirectStringMask | kIsNotStringMask));
4854 // Sign extended 32 bit immediate.
4855 and_(bitmap_reg, Immediate(~Page::kPageAlignmentMask));
4859 shrl(rcx, Immediate(shift));
4861 Immediate((Page::kPageAlignmentMask >> shift) &
4866 shrl(rcx, Immediate(kPointerSizeLog2));
4867 and_(rcx, Immediate((1 << Bitmap::kBitsPerCellLog2) - 1));
4868 movl(mask_reg, Immediate(1));
4919 movq(length, Immediate(HeapNumber::kSize));
4930 testb(instance_type, Immediate(kIsIndirectStringMask | kIsNotStringMask));
4940 testb(instance_type, Immediate(kExternalStringTag));
4942 movq(length, Immediate(ExternalString::kSize));
4948 and_(length, Immediate(kStringEncodingMask));
4949 xor_(length, Immediate(kStringEncodingMask));
4950 addq(length, Immediate(0x04));
4953 shr(length, Immediate(2 + kSmiTagSize + kSmiShiftSize));
4954 addq(length, Immediate(SeqString::kHeaderSize + kObjectAlignmentMask));
4955 and_(length, Immediate(~kObjectAlignmentMask));
4962 and_(bitmap_scratch, Immediate(~Page::kPageAlignmentMask));
5044 and_(scratch1, Immediate(Map::kElementsKindMask));
5045 shr(scratch1, Immediate(Map::kElementsKindShift));
5046 cmpq(scratch1, Immediate(DICTIONARY_ELEMENTS));