Lines Matching defs:edx
909 return Location::RegisterPairLocation(EAX, EDX);
1876 0, Location::RegisterPairLocation(EAX, EDX));
1904 DCHECK_EQ(ret->GetLocations()->InAt(0).AsRegisterPairHigh<Register>(), EDX);
2187 : Location::RegisterPairLocation(EAX, EDX);
2270 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
2280 // The runtime helper puts the result in EAX, EDX.
2281 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
2539 DCHECK_EQ(out.AsRegisterPairHigh<Register>(), EDX);
2966 locations->AddTemp(Location::RegisterLocation(EDX));
3015 Register edx = locations->GetTemp(1).AsRegister<Register>();
3018 DCHECK_EQ(EDX, edx);
3043 // edx:eax <- in1.lo * in2.lo
3046 __ addl(in1_hi, edx);
3062 // edx:eax <- in1.lo * in2.lo
3065 __ addl(in1_hi, edx);
3082 // edx:eax <- in1.lo * in2.lo
3085 __ addl(in1_hi, edx);
3287 Register edx;
3290 edx = locations->GetTemp(0).AsRegister<Register>();
3293 edx = locations->Out().AsRegister<Register>();
3298 DCHECK_EQ(EDX, edx);
3302 DCHECK_EQ(EDX, out);
3326 // EDX:EAX = magic * numerator
3330 // EDX += num
3331 __ addl(edx, num);
3333 __ subl(edx, num);
3338 __ sarl(edx, Immediate(shift));
3341 // EDX += 1 if EDX < 0
3342 __ movl(eax, edx);
3343 __ shrl(edx, Immediate(31));
3344 __ addl(edx, eax);
3348 __ imull(edx, Immediate(imm));
3349 __ subl(eax, edx);
3350 __ movl(edx, eax);
3352 __ movl(eax, edx);
3369 DCHECK_EQ(is_div ? EAX : EDX, out.AsRegister<Register>());
3397 // edx:eax <- sign-extended of eax
3399 // eax = quotient, edx = remainder
3413 DCHECK_EQ(EDX, out.AsRegisterPairHigh<Register>());
3447 // Intel uses edx:eax as the dividend.
3448 locations->AddTemp(Location::RegisterLocation(EDX));
3449 // We need to save the numerator while we tweak eax and edx. As we are using imul in a way
3450 // which enforces results to be in EAX and EDX, things are simpler if we use EAX also as
3463 // Runtime helper puts the result in EAX, EDX.
3464 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));
3549 locations->SetOut(Location::RegisterLocation(EDX));
3550 // We need to save the numerator while we tweak eax and edx. As we are using imul in a way
3551 // which enforces results to be in EAX and EDX, things are simpler if we use EDX also as
3564 // Runtime helper puts the result in EAX, EDX.
3565 locations->SetOut(Location::RegisterPairLocation(EAX, EDX));