Lines Matching full:operand
63 Operand MacroAssembler::ExternalOperand(ExternalReference target,
69 return Operand(kRootRegister, static_cast<int32_t>(delta));
73 return Operand(scratch, 0);
82 movq(destination, Operand(kRootRegister, static_cast<int32_t>(delta)));
91 movq(destination, Operand(kScratchRegister, 0));
101 movq(Operand(kRootRegister, static_cast<int32_t>(delta)), source);
110 movq(Operand(kScratchRegister, 0), source);
121 lea(destination, Operand(kRootRegister, static_cast<int32_t>(delta)));
138 // Operand is lea(scratch, Operand(kRootRegister, delta));
154 movq(destination, Operand(kRootRegister,
164 Operand(kRootRegister,
172 movq(Operand(kRootRegister, (index << kPointerSizeLog2) - kRootRegisterBias),
179 push(Operand(kRootRegister, (index << kPointerSizeLog2) - kRootRegisterBias));
185 cmpq(with, Operand(kRootRegister,
190 void MacroAssembler::CompareRoot(const Operand& with,
220 bts(Operand(object, Page::kDirtyFlagOffset), addr);
318 lea(dst, Operand(object, offset));
670 movq(prev_next_address_reg, Operand(base_reg, kNextOffset));
671 movq(prev_limit_reg, Operand(base_reg, kLimitOffset));
672 addl(Operand(base_reg, kLevelOffset), Immediate(1));
681 movq(rax, Operand(rax, 0));
687 movq(rax, Operand(rax, 0));
692 subl(Operand(base_reg, kLevelOffset), Immediate(1));
693 movq(Operand(base_reg, kNextOffset), prev_next_address_reg);
694 cmpq(prev_limit_reg, Operand(base_reg, kLimitOffset));
700 Cmp(Operand(rsi, 0), FACTORY->the_hole_value());
720 movq(Operand(base_reg, kLimitOffset), prev_limit_reg);
773 movq(target, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX)));
800 void MacroAssembler::Set(const Operand& dst, int64_t x) {
850 lea(dst, Operand(kSmiConstantRegister, kSmiConstantRegister, times_8, 0));
854 lea(dst, Operand(dst, kSmiConstantRegister, times_8, 0));
858 lea(dst, Operand(dst, kSmiConstantRegister, times_4, 0));
861 lea(dst, Operand(kSmiConstantRegister, kSmiConstantRegister, times_4, 0));
864 lea(dst, Operand(kSmiConstantRegister, kSmiConstantRegister, times_2, 0));
867 lea(dst, Operand(kSmiConstantRegister, kSmiConstantRegister, times_1, 0));
894 void MacroAssembler::Integer32ToSmiField(const Operand& dst, Register src) {
907 movl(Operand(dst, kSmiShift / kBitsPerByte), src);
917 leal(dst, Operand(src, constant));
932 void MacroAssembler::SmiToInteger32(Register dst, const Operand& src) {
933 movl(dst, Operand(src, kSmiShift / kBitsPerByte));
946 void MacroAssembler::SmiToInteger64(Register dst, const Operand& src) {
947 movsxlq(dst, Operand(src, kSmiShift / kBitsPerByte));
984 void MacroAssembler::SmiCompare(Register dst, const Operand& src) {
993 void MacroAssembler::SmiCompare(const Operand& dst, Register src) {
1002 void MacroAssembler::SmiCompare(const Operand& dst, Smi* src) {
1006 cmpl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(src->value()));
1010 void MacroAssembler::Cmp(const Operand& dst, Smi* src) {
1011 // The Operand cannot use the smi register.
1018 void MacroAssembler::SmiCompareInteger32(const Operand& dst, Register src) {
1019 cmpl(Operand(dst, kSmiShift / kBitsPerByte), src);
1062 Condition MacroAssembler::CheckSmi(const Operand& src) {
1084 leal(kScratchRegister, Operand(first, second, times_1, 0));
1154 void MacroAssembler::CheckSmiToIndicator(Register dst, const Operand& src) {
1178 lea(dst, Operand(src, kSmiConstantRegister, times_2, 0));
1181 lea(dst, Operand(src, kSmiConstantRegister, times_4, 0));
1184 lea(dst, Operand(src, kSmiConstantRegister, times_8, 0));
1194 lea(dst, Operand(src, kSmiConstantRegister, times_1, 0));
1197 lea(dst, Operand(src, kSmiConstantRegister, times_2, 0));
1200 lea(dst, Operand(src, kSmiConstantRegister, times_4, 0));
1203 lea(dst, Operand(src, kSmiConstantRegister, times_8, 0));
1214 void MacroAssembler::SmiAddConstant(const Operand& dst, Smi* constant) {
1216 addl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(constant->value()));
1273 const Operand& src2) {
1292 lea(dst, Operand(src, kScratchRegister, times_1, 0));
1468 void MacroAssembler::AddSmiField(Register dst, const Operand& src) {
1470 addl(dst, Operand(src, kSmiShift / kBitsPerByte));
1492 void MacroAssembler::Move(const Operand& dst, Handle<Object> source) {
1513 void MacroAssembler::Cmp(const Operand& dst, Handle<Object> source) {
1553 void MacroAssembler::Test(const Operand& src, Smi* source) {
1554 testl(Operand(src, kIntSize), Immediate(source->value()));
1639 lea(rsp, Operand(rsp, -sp_delta));
1647 lea(rsp, Operand(rsp, sp_delta));
1699 Operand MacroAssembler::SafepointRegisterSlot(Register reg) {
1700 return Operand(rsp, SafepointRegisterStackIndex(reg.code()) * kPointerSize);
1735 Operand handler_operand =
1746 Operand handler_operand =
1767 Operand handler_operand = ExternalOperand(handler_address);
1780 movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
1801 cmpq(Operand(rsp, kStateOffset), Immediate(StackHandler::ENTRY));
1805 movq(rsp, Operand(rsp, kNextOffset));
1810 Operand handler_operand = ExternalOperand(handler_address);
1899 Assert(equal, "Operand not a number");
1907 Assert(NegateCondition(is_smi), "Operand is a smi");
1913 Assert(is_smi, "Operand is not a smi");
1917 void MacroAssembler::AbortIfNotSmi(const Operand& object) {
1919 Assert(is_smi, "Operand is not a smi");
1925 Assert(not_equal, "Operand is not a string");
1930 Assert(below, "Operand is not a string");
2004 Operand counter_operand = ExternalOperand(ExternalReference(counter));
2013 Operand counter_operand = ExternalOperand(ExternalReference(counter));
2026 Operand counter_operand = ExternalOperand(ExternalReference(counter));
2157 cmpq(Operand(rsp, 0), kScratchRegister);
2166 cmpq(Operand(rbp, StandardFrameConstants::kMarkerOffset), kScratchRegister);
2213 movsd(Operand(rbp, offset - ((i + 1) * kDoubleSize)), reg);
2228 movq(Operand(rbp, ExitFrameConstants::kSPOffset), rsp);
2238 lea(r15, Operand(rbp, r14, times_pointer_size, offset));
2257 movsd(reg, Operand(rbp, offset - ((i + 1) * kDoubleSize)));
2261 movq(rcx, Operand(rbp, 1 * kPointerSize));
2262 movq(rbp, Operand(rbp, 0 * kPointerSize));
2266 lea(rsp, Operand(r15, 1 * kPointerSize));
2286 Operand context_operand = ExternalOperand(context_address);
2295 Operand c_entry_fp_operand = ExternalOperand(c_entry_fp_address);
2308 movq(scratch, Operand(rbp, StandardFrameConstants::kContextOffset));
2375 Operand top_operand = ExternalOperand(new_space_allocation_top);
2386 movq(result, Operand(scratch, 0));
2406 movq(Operand(scratch, 0), result_end);
2449 Operand limit_operand = ExternalOperand(new_space_allocation_limit);
2501 lea(result_end, Operand(element_count, element_size, header_size));
2504 Operand limit_operand = ExternalOperand(new_space_allocation_limit);
2550 Operand limit_operand = ExternalOperand(new_space_allocation_limit);
2570 Operand top_operand = ExternalOperand(new_space_allocation_top);
2608 lea(scratch1, Operand(length, length, times_1, kObjectAlignmentMask +
2746 movq(length, Operand(source, scratch, times_1, -8));
2747 movq(Operand(destination, scratch, times_1, -8), length);
2758 lea(scratch, Operand(destination, length, times_1, 0));
2761 movb(length, Operand(source, 0));
2762 movb(Operand(destination, 0), length);
2776 movq(dst, Operand(rsi, Context::SlotOffset(Context::CLOSURE_INDEX)));
2780 movq(dst, Operand(dst, Context::SlotOffset(Context::CLOSURE_INDEX)));
2784 movq(dst, Operand(dst, Context::SlotOffset(Context::FCONTEXT_INDEX)));
2797 cmpq(dst, Operand(dst, Context::SlotOffset(Context::FCONTEXT_INDEX)));
2811 movq(function, Operand(rsi, Context::SlotOffset(Context::GLOBAL_INDEX)));
2815 movq(function, Operand(function, Context::SlotOffset(index)));
2865 movq(Operand(rsp, argument_slots_on_stack * kPointerSize), kScratchRegister);
2887 movq(rsp, Operand(rsp, argument_slots_on_stack * kPointerSize));