Lines Matching defs:rax
162 __ Set(rax, slots);
167 __ decl(rax);
179 __ movq(Operand(rsp, offset), rax);
198 // Context is returned in both rax and rsi. It replaces the context
210 __ movq(rax, Operand(rbp, parameter_offset));
213 __ movq(Operand(rsi, context_offset), rax);
214 // Update the write barrier. This clobbers rax and rbx.
215 __ RecordWriteContextSlot(rsi, context_offset, rax, rbx, kSaveFPRegs);
723 ASSERT(ToRegister(instr->result()).is(rax));
802 ASSERT(left_reg.is(rax));
804 ASSERT(!right_reg.is(rax));
887 ASSERT(ToRegister(instr->result()).is(rax));
888 ASSERT(ToRegister(instr->InputAt(0)).is(rax));
889 ASSERT(!ToRegister(instr->InputAt(1)).is(rax));
892 Register left_reg = rax;
1232 ASSERT(object.is(rax));
1344 ASSERT(ToRegister(instr->InputAt(1)).is(rax));
1345 ASSERT(ToRegister(instr->result()).is(rax));
1746 __ testq(rax, rax);
1916 __ testq(rax, rax);
2024 __ movq(kScratchRegister, rax);
2030 __ LoadRoot(rax, Heap::kTrueValueRootIndex);
2033 __ LoadRoot(rax, Heap::kFalseValueRootIndex);
2046 __ testq(rax, rax);
2060 __ push(rax);
2080 ASSERT(ToRegister(instr->global_object()).is(rax));
2081 ASSERT(ToRegister(instr->result()).is(rax));
2119 ASSERT(ToRegister(instr->value()).is(rax));
2266 ASSERT(ToRegister(instr->object()).is(rax));
2267 ASSERT(ToRegister(instr->result()).is(rax));
2328 Register temp((result.is(rax)) ? rbx : rax);
2490 ASSERT(ToRegister(instr->key()).is(rax));
2599 ASSERT(receiver.is(rax)); // Used for parameter count.
2601 ASSERT(ToRegister(instr->result()).is(rax));
2630 ParameterCount actual(rax);
2706 // Set rax to arguments count if adaption is not needed. Assumes that rax
2709 __ Set(rax, arity);
2736 ASSERT(ToRegister(instr->result()).is(rax));
2751 Register tmp = input_reg.is(rax) ? rcx : rax;
2778 if (!tmp.is(rax)) {
2779 __ movq(tmp, rax);
3054 __ movl(rax, FieldOperand(rbx, ByteArray::kHeaderSize));
3056 __ testl(rax, rax);
3062 // Only operate on the lower 32 bit of rax.
3063 __ movl(rdx, rax);
3066 __ shrl(rax, Immediate(16));
3067 __ addl(rax, rdx);
3069 __ movl(FieldOperand(rbx, ByteArray::kHeaderSize), rax);
3081 __ shll(rax, Immediate(14));
3083 __ addl(rax, rcx);
3086 // Convert 32 random bits in rax to 0.(32 random bits) in a double
3091 __ movd(xmm1, rax);
3102 // Return value is in rax.
3189 ASSERT(ToRegister(instr->result()).is(rax));
3200 ASSERT(ToRegister(instr->result()).is(rax));
3214 ASSERT(ToRegister(instr->result()).is(rax));
3224 ASSERT(ToRegister(instr->result()).is(rax));
3236 ASSERT(ToRegister(instr->result()).is(rax));
3243 ASSERT(ToRegister(instr->result()).is(rax));
3246 __ Set(rax, instr->arity());
3303 ASSERT(ToRegister(instr->value()).is(rax));
3443 ASSERT(ToRegister(instr->value()).is(rax));
3548 __ AbortIfNotSmi(rax);
3550 __ SmiToInteger32(rax, rax);
3551 __ StoreToSafepointRegisterSlot(result, rax);
3599 __ StoreToSafepointRegisterSlot(result, rax);
3668 // Ensure that value in rax survives popping registers.
3669 __ movq(kScratchRegister, rax);
4125 __ StoreToSafepointRegisterSlot(result, rax);
4138 __ LoadHeapObject(rax, instr->hydrogen()->boilerplate_object());
4139 __ movq(rbx, FieldOperand(rax, HeapObject::kMapOffset));
4150 __ movq(rax, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset));
4151 __ push(FieldOperand(rax, JSFunction::kLiteralsOffset));
4283 __ AllocateInNewSpace(size, rax, rcx, rdx, &runtime_allocate, TAG_OBJECT);
4293 EmitDeepCopy(instr->hydrogen()->boilerplate(), rax, rbx, &offset);
4330 rax));
4331 __ push(rax);
4342 // rax = regexp literal clone.
4352 // Result will be in rax.
4358 __ movq(rbx, rax);
4363 __ AllocateInNewSpace(size, rax, rcx, rdx, &runtime_allocate, TAG_OBJECT);
4378 __ movq(FieldOperand(rax, i), rdx);
4379 __ movq(FieldOperand(rax, i + kPointerSize), rcx);
4383 __ movq(FieldOperand(rax, size - kPointerSize), rdx);
4537 __ movq(temp, Operand(rax, StandardFrameConstants::kCallerFPOffset));
4679 __ CompareRoot(rax, Heap::kUndefinedValueRootIndex);
4684 __ cmpq(rax, null_value);
4687 Condition cc = masm()->CheckSmi(rax);
4691 __ CmpObjectType(rax, LAST_JS_PROXY_TYPE, rcx);
4697 __ movq(rax, FieldOperand(rax, HeapObject::kMapOffset));
4702 __ push(rax);
4705 __ CompareRoot(FieldOperand(rax, HeapObject::kMapOffset),