Lines Matching defs:rax
127 __ movq(Operand(rsp, offset), rax);
185 __ push(rax);
186 __ Set(rax, slots);
190 __ movq(MemOperand(rsp, rax, times_pointer_size, 0),
192 __ decl(rax);
194 __ pop(rax);
229 // Context is returned in both rax and rsi. It replaces the context
241 __ movq(rax, Operand(rbp, parameter_offset));
244 __ movq(Operand(rsi, context_offset), rax);
245 // Update the write barrier. This clobbers rax and rbx.
246 __ RecordWriteContextSlot(rsi, context_offset, rax, rbx, kSaveFPRegs);
942 ASSERT(ToRegister(instr->result()).is(rax));
1048 ASSERT(left_reg.is(rax));
1050 ASSERT(!right_reg.is(rax));
1242 ASSERT(ToRegister(instr->result()).is(rax));
1243 ASSERT(ToRegister(instr->left()).is(rax));
1244 ASSERT(!ToRegister(instr->right()).is(rax));
1247 Register left_reg = rax;
1286 __ addl(rax, rdx);
1636 ASSERT(object.is(rax));
1865 ASSERT(ToRegister(instr->right()).is(rax));
1866 ASSERT(ToRegister(instr->result()).is(rax));
2304 __ testq(rax, rax);
2459 __ testq(rax, rax);
2565 __ movq(kScratchRegister, rax);
2571 __ LoadRoot(rax, Heap::kTrueValueRootIndex);
2574 __ LoadRoot(rax, Heap::kFalseValueRootIndex);
2595 __ testq(rax, rax);
2609 __ push(rax);
2660 ASSERT(ToRegister(instr->global_object()).is(rax));
2661 ASSERT(ToRegister(instr->result()).is(rax));
2699 ASSERT(ToRegister(instr->value()).is(rax));
2770 ASSERT(result.is(rax));
2798 ASSERT(ToRegister(instr->object()).is(rax));
2799 ASSERT(ToRegister(instr->result()).is(rax));
3070 ASSERT(ToRegister(instr->key()).is(rax));
3183 ASSERT(receiver.is(rax)); // Used for parameter count.
3185 ASSERT(ToRegister(instr->result()).is(rax));
3214 ParameterCount actual(rax);
3295 // Set rax to arguments count if adaption is not needed. Assumes that rax
3298 __ Set(rax, arity);
3327 ASSERT(ToRegister(instr->result()).is(rax));
3344 Register tmp = input_reg.is(rax) ? rcx : rax;
3365 if (!tmp.is(rax)) __ movq(tmp, rax);
3673 __ movl(rax, FieldOperand(rbx, ByteArray::kHeaderSize));
3675 __ testl(rax, rax);
3681 // Only operate on the lower 32 bit of rax.
3682 __ movzxwl(rdx, rax);
3684 __ shrl(rax, Immediate(16));
3685 __ addl(rax, rdx);
3687 __ movl(FieldOperand(rbx, ByteArray::kHeaderSize), rax);
3698 __ shll(rax, Immediate(14));
3700 __ addl(rax, rcx);
3703 // Convert 32 random bits in rax to 0.(32 random bits) in a double
3709 __ movd(xmm1, rax);
3719 // Return value is in rax.
3790 ASSERT(ToRegister(instr->result()).is(rax));
3801 ASSERT(ToRegister(instr->result()).is(rax));
3815 ASSERT(ToRegister(instr->result()).is(rax));
3825 ASSERT(ToRegister(instr->result()).is(rax));
3837 ASSERT(ToRegister(instr->result()).is(rax));
3849 ASSERT(ToRegister(instr->result()).is(rax));
3851 __ Set(rax, instr->arity());
3862 ASSERT(ToRegister(instr->result()).is(rax));
3864 __ Set(rax, instr->arity());
3926 ASSERT(value.is(rax));
4028 ASSERT(ToRegister(instr->value()).is(rax));
4266 ASSERT(ToRegister(instr->value()).is(rax));
4296 if (!object_reg.is(rax)) {
4297 __ movq(rax, object_reg);
4371 __ AssertSmi(rax);
4372 __ SmiToInteger32(rax, rax);
4373 __ StoreToSafepointRegisterSlot(result, rax);
4422 __ StoreToSafepointRegisterSlot(result, rax);
4499 Register tmp = reg.is(rax) ? rcx : rax;
4524 if (!reg.is(rax)) __ movq(reg, rax);
4570 // Ensure that value in rax survives popping registers.
4571 __ movq(kScratchRegister, rax);
4897 __ testq(rax, Immediate(kSmiTagMask));
5092 __ StoreToSafepointRegisterSlot(result, rax);
5097 ASSERT(ToRegister(instr->value()).is(rax));
5098 __ push(rax);
5108 // rax = regexp literal clone.
5117 // Result will be in rax.
5123 __ movq(rbx, rax);
5128 __ Allocate(size, rax, rcx, rdx, &runtime_allocate, TAG_OBJECT);
5143 __ movq(FieldOperand(rax, i), rdx);
5144 __ movq(FieldOperand(rax, i + kPointerSize), rcx);
5148 __ movq(FieldOperand(rax, size - kPointerSize), rdx);
5302 __ movq(temp, Operand(rax, StandardFrameConstants::kCallerFPOffset));
5428 __ CompareRoot(rax, Heap::kUndefinedValueRootIndex);
5433 __ cmpq(rax, null_value);
5436 Condition cc = masm()->CheckSmi(rax);
5440 __ CmpObjectType(rax, LAST_JS_PROXY_TYPE, rcx);
5446 __ movq(rax, FieldOperand(rax, HeapObject::kMapOffset));
5451 __ push(rax);
5454 __ CompareRoot(FieldOperand(rax, HeapObject::kMapOffset),