Lines Matching defs:second

2758   Location second = locations->InAt(1);
2763 if (second.IsRegister()) {
2765 __ addl(out.AsRegister<Register>(), second.AsRegister<Register>());
2766 } else if (out.AsRegister<Register>() == second.AsRegister<Register>()) {
2770 first.AsRegister<Register>(), second.AsRegister<Register>(), TIMES_1, 0));
2772 } else if (second.IsConstant()) {
2773 int32_t value = second.GetConstant()->AsIntConstant()->GetValue();
2781 __ addl(first.AsRegister<Register>(), Address(ESP, second.GetStackIndex()));
2787 if (second.IsRegisterPair()) {
2788 __ addl(first.AsRegisterPairLow<Register>(), second.AsRegisterPairLow<Register>());
2789 __ adcl(first.AsRegisterPairHigh<Register>(), second.AsRegisterPairHigh<Register>());
2790 } else if (second.IsDoubleStackSlot()) {
2791 __ addl(first.AsRegisterPairLow<Register>(), Address(ESP, second.GetStackIndex()));
2793 Address(ESP, second.GetHighStackIndex(kX86WordSize)));
2795 DCHECK(second.IsConstant()) << second;
2796 int64_t value = second.GetConstant()->AsLongConstant()->GetValue();
2804 if (second.IsFpuRegister()) {
2805 __ addss(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
2814 DCHECK(second.IsStackSlot());
2815 __ addss(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
2821 if (second.IsFpuRegister()) {
2822 __ addsd(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
2831 DCHECK(second.IsDoubleStackSlot());
2832 __ addsd(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
2875 Location second = locations->InAt(1);
2879 if (second.IsRegister()) {
2880 __ subl(first.AsRegister<Register>(), second.AsRegister<Register>());
2881 } else if (second.IsConstant()) {
2883 Immediate(second.GetConstant()->AsIntConstant()->GetValue()));
2885 __ subl(first.AsRegister<Register>(), Address(ESP, second.GetStackIndex()));
2891 if (second.IsRegisterPair()) {
2892 __ subl(first.AsRegisterPairLow<Register>(), second.AsRegisterPairLow<Register>());
2893 __ sbbl(first.AsRegisterPairHigh<Register>(), second.AsRegisterPairHigh<Register>());
2894 } else if (second.IsDoubleStackSlot()) {
2895 __ subl(first.AsRegisterPairLow<Register>(), Address(ESP, second.GetStackIndex()));
2897 Address(ESP, second.GetHighStackIndex(kX86WordSize)));
2899 DCHECK(second.IsConstant()) << second;
2900 int64_t value = second.GetConstant()->AsLongConstant()->GetValue();
2908 if (second.IsFpuRegister()) {
2909 __ subss(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
2918 DCHECK(second.IsStackSlot());
2919 __ subss(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
2925 if (second.IsFpuRegister()) {
2926 __ subsd(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
2935 DCHECK(second.IsDoubleStackSlot());
2936 __ subsd(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
2991 Location second = locations->InAt(1);
3001 } else if (second.IsRegister()) {
3003 __ imull(first.AsRegister<Register>(), second.AsRegister<Register>());
3005 DCHECK(second.IsStackSlot());
3007 __ imull(first.AsRegister<Register>(), Address(ESP, second.GetStackIndex()));
3025 if (second.IsConstant()) {
3026 DCHECK(second.GetConstant()->IsLongConstant());
3028 int64_t value = second.GetConstant()->AsLongConstant()->GetValue();
3049 } else if (second.IsRegisterPair()) {
3050 Register in2_hi = second.AsRegisterPairHigh<Register>();
3051 Register in2_lo = second.AsRegisterPairLow<Register>();
3069 DCHECK(second.IsDoubleStackSlot()) << second;
3070 Address in2_hi(ESP, second.GetHighStackIndex(kX86WordSize));
3071 Address in2_lo(ESP, second.GetStackIndex());
3095 if (second.IsFpuRegister()) {
3096 __ mulss(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
3105 DCHECK(second.IsStackSlot());
3106 __ mulss(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
3113 if (second.IsFpuRegister()) {
3114 __ mulsd(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
3123 DCHECK(second.IsDoubleStackSlot());
3124 __ mulsd(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
3181 Location second = locations->InAt(1);
3190 PushOntoFPStack(second, elem_size, 2 * elem_size, /* is_fp */ true, is_wide);
3363 Location second = locations->InAt(1);
3371 if (second.IsConstant()) {
3372 int32_t imm = second.GetConstant()->AsIntConstant()->GetValue();
3389 Register second_reg = second.AsRegister<Register>();
3410 DCHECK_EQ(calling_convention.GetRegisterAt(2), second.AsRegisterPairLow<Register>());
3411 DCHECK_EQ(calling_convention.GetRegisterAt(3), second.AsRegisterPairHigh<Register>());
3489 Location second = locations->InAt(1);
3499 if (second.IsFpuRegister()) {
3500 __ divss(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
3509 DCHECK(second.IsStackSlot());
3510 __ divss(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
3516 if (second.IsFpuRegister()) {
3517 __ divsd(first.AsFpuRegister<XmmRegister>(), second.AsFpuRegister<XmmRegister>());
3526 DCHECK(second.IsDoubleStackSlot());
3527 __ divsd(first.AsFpuRegister<XmmRegister>(), Address(ESP, second.GetStackIndex()));
3701 Location second = locations->InAt(1);
3708 if (second.IsRegister()) {
3709 Register second_reg = second.AsRegister<Register>();
3719 int32_t shift = second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance;
3735 if (second.IsRegister()) {
3736 Register second_reg = second.AsRegister<Register>();
3747 int32_t shift = second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance;
3896 Location second = locations->InAt(1);
3900 if (second.IsRegister()) {
3901 Register second_reg = second.AsRegister<Register>();
3904 Immediate imm(second.GetConstant()->AsIntConstant()->GetValue() & kMaxIntShiftDistance);
3914 if (second.IsRegister()) {
3915 Register second_reg = second.AsRegister<Register>();
3925 int32_t shift_amt = second.GetConstant()->AsIntConstant()->GetValue() & kMaxLongShiftDistance;
5334 // However, the second read barrier may trash `temp`, as it
6612 Location second = locations->InAt(1);
6616 if (second.IsRegister()) {
6618 __ andl(first.AsRegister<Register>(), second.AsRegister<Register>());
6620 __ orl(first.AsRegister<Register>(), second.AsRegister<Register>());
6623 __ xorl(first.AsRegister<Register>(), second.AsRegister<Register>());
6625 } else if (second.IsConstant()) {
6628 Immediate(second.GetConstant()->AsIntConstant()->GetValue()));
6631 Immediate(second.GetConstant()->AsIntConstant()->GetValue()));
6635 Immediate(second.GetConstant()->AsIntConstant()->GetValue()));
6639 __ andl(first.AsRegister<Register>(), Address(ESP, second.GetStackIndex()));
6641 __ orl(first.AsRegister<Register>(), Address(ESP, second.GetStackIndex()));
6644 __ xorl(first.AsRegister<Register>(), Address(ESP, second.GetStackIndex()));
6649 if (second.IsRegisterPair()) {
6651 __ andl(first.AsRegisterPairLow<Register>(), second.AsRegisterPairLow<Register>());
6652 __ andl(first.AsRegisterPairHigh<Register>(), second.AsRegisterPairHigh<Register>());
6654 __ orl(first.AsRegisterPairLow<Register>(), second.AsRegisterPairLow<Register>());
6655 __ orl(first.AsRegisterPairHigh<Register>(), second.AsRegisterPairHigh<Register>());
6658 __ xorl(first.AsRegisterPairLow<Register>(), second.AsRegisterPairLow<Register>());
6659 __ xorl(first.AsRegisterPairHigh<Register>(), second.AsRegisterPairHigh<Register>());
6661 } else if (second.IsDoubleStackSlot()) {
6663 __ andl(first.AsRegisterPairLow<Register>(), Address(ESP, second.GetStackIndex()));
6665 Address(ESP, second.GetHighStackIndex(kX86WordSize)));
6667 __ orl(first.AsRegisterPairLow<Register>(), Address(ESP, second.GetStackIndex()));
6669 Address(ESP, second.GetHighStackIndex(kX86WordSize)));
6672 __ xorl(first.AsRegisterPairLow<Register>(), Address(ESP, second.GetStackIndex()));
6674 Address(ESP, second.GetHighStackIndex(kX86WordSize)));
6677 DCHECK(second.IsConstant()) << second;
6678 int64_t value = second.GetConstant()->AsLongConstant()->GetValue();