Lines Matching defs:eax
184 x86_codegen->Move32(locations->Out(), Location::RegisterLocation(EAX));
223 x86_codegen->Move32(out, Location::RegisterLocation(EAX));
288 x86_codegen->Move32(locations->Out(), Location::RegisterLocation(EAX));
481 __ testl(EAX, Address(ESP, -static_cast<int32_t>(GetStackOverflowReservedBytes(kX86))));
501 __ movl(Address(ESP, kCurrentMethodStackOffset), EAX);
1151 locations->SetInAt(0, Location::RegisterLocation(EAX));
1156 0, Location::RegisterPairLocation(EAX, EDX));
1179 DCHECK_EQ(ret->GetLocations()->InAt(0).AsRegister<Register>(), EAX);
1183 DCHECK_EQ(ret->GetLocations()->InAt(0).AsRegisterPairLow<Register>(), EAX);
1242 locations->AddTemp(Location::RegisterLocation(EAX));
1257 locations->SetOut(Location::RegisterLocation(EAX));
1261 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
1513 locations->SetInAt(0, Location::RegisterLocation(EAX));
1514 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
1524 // The runtime helper puts the result in EAX, EDX.
1525 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
1758 DCHECK_EQ(out.AsRegisterPairLow<Register>(), EAX);
1760 DCHECK_EQ(in.AsRegister<Register>(), EAX);
2104 locations->AddTemp(Location::RegisterLocation(EAX));
2144 Register eax = locations->GetTemp(0).AsRegister<Register>();
2147 DCHECK_EQ(EAX, eax);
2164 __ movl(eax, high);
2165 // eax <- in1.lo * in2.hi
2166 __ imull(eax, in1_lo);
2170 __ addl(in1_hi, eax);
2171 // move in2_lo to eax to prepare for double precision
2172 __ movl(eax, low);
2173 // edx:eax <- in1.lo * in2.lo
2178 __ movl(in1_lo, eax);
2183 __ movl(eax, in2_hi);
2184 // eax <- in1.lo * in2.hi
2185 __ imull(eax, in1_lo);
2189 __ addl(in1_hi, eax);
2190 // move in1_lo to eax to prepare for double precision
2191 __ movl(eax, in1_lo);
2192 // edx:eax <- in1.lo * in2.lo
2197 __ movl(in1_lo, eax);
2203 __ movl(eax, in2_hi);
2204 // eax <- in1.lo * in2.hi
2205 __ imull(eax, in1_lo);
2209 __ addl(in1_hi, eax);
2210 // move in1_lo to eax to prepare for double precision
2211 __ movl(eax, in1_lo);
2212 // edx:eax <- in1.lo * in2.lo
2217 __ movl(in1_lo, eax);
2307 __ andl(EAX, Immediate(kC2ConditionMask));
2387 Register eax = locations->InAt(0).AsRegister<Register>();
2400 DCHECK_EQ(EAX, eax);
2403 DCHECK_EQ(EAX, out);
2415 __ testl(eax, eax);
2424 __ movl(num, eax);
2426 // EAX = magic
2427 __ movl(eax, Immediate(magic));
2429 // EDX:EAX = magic * numerator
2445 __ movl(eax, edx);
2447 __ addl(edx, eax);
2450 __ movl(eax, num);
2452 __ subl(eax, edx);
2453 __ movl(edx, eax);
2455 __ movl(eax, edx);
2471 DCHECK_EQ(EAX, first.AsRegister<Register>());
2472 DCHECK_EQ(is_div ? EAX : EDX, out.AsRegister<Register>());
2501 // edx:eax <- sign-extended of eax
2503 // eax = quotient, edx = remainder
2516 DCHECK_EQ(EAX, out.AsRegisterPairLow<Register>());
2545 locations->SetInAt(0, Location::RegisterLocation(EAX));
2548 // Intel uses edx:eax as the dividend.
2550 // We need to save the numerator while we tweak eax and edx. As we are using imul in a way
2551 // which enforces results to be in EAX and EDX, things are simpler if we use EAX also as
2564 // Runtime helper puts the result in EAX, EDX.
2565 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
2621 locations->SetInAt(0, Location::RegisterLocation(EAX));
2624 // We need to save the numerator while we tweak eax and edx. As we are using imul in a way
2625 // which enforces results to be in EAX and EDX, things are simpler if we use EDX also as
2638 // Runtime helper puts the result in EAX, EDX.
2639 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
2647 locations->AddTemp(Location::RegisterLocation(EAX));
2963 locations->SetOut(Location::RegisterLocation(EAX));
2983 locations->SetOut(Location::RegisterLocation(EAX));
3362 locations->SetInAt(1, Location::RegisterLocation(EAX));
3517 __ testl(EAX, Address(obj.AsRegister<Register>(), 0));
3717 locations->SetInAt(2, Location::ByteRegisterOrConstant(EAX, instruction->InputAt(2)));
4034 this, kNoRegister, EAX, codegen_->GetNumberOfCoreRegisters());
4043 this, kNoRegister, EAX, codegen_->GetNumberOfCoreRegisters());
4114 this, kNoRegister, EAX, codegen_->GetNumberOfCoreRegisters());
4167 Register suggested_scratch = reg == EAX ? EBX : EAX;
4179 this, kNoRegister, EAX, codegen_->GetNumberOfCoreRegisters());
4190 this, kNoRegister, EAX, codegen_->GetNumberOfCoreRegisters());
4192 Register suggested_scratch = ensure_scratch1.GetRegister() == EAX ? EBX : EAX;