Home
last modified time | relevance | path

Searched refs:input_reg (Results 1 – 25 of 30) sorted by relevance

12

/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc2279 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2280 __ Cmp(input_reg, factory()->the_hole_value()); in DoCmpHoleAndBranch()
2285 XMMRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2286 __ Ucomisd(input_reg, input_reg); in DoCmpHoleAndBranch()
2290 __ Movsd(MemOperand(rsp, 0), input_reg); in DoCmpHoleAndBranch()
3365 Register input_reg = ToRegister(instr->value()); in DoDeferredMathAbsTaggedHeapNumber() local
3366 __ CompareRoot(FieldOperand(input_reg, HeapObject::kMapOffset), in DoDeferredMathAbsTaggedHeapNumber()
3371 Register tmp = input_reg.is(rax) ? rcx : rax; in DoDeferredMathAbsTaggedHeapNumber()
3372 Register tmp2 = tmp.is(rcx) ? rdx : input_reg.is(rcx) ? rdx : rcx; in DoDeferredMathAbsTaggedHeapNumber()
3377 __ movl(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc2213 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2214 __ cmp(input_reg, factory()->the_hole_value()); in DoCmpHoleAndBranch()
2219 XMMRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2220 __ ucomisd(input_reg, input_reg); in DoCmpHoleAndBranch()
2224 __ movsd(MemOperand(esp, 0), input_reg); in DoCmpHoleAndBranch()
3289 Register input_reg = ToRegister(instr->value()); in DoDeferredMathAbsTaggedHeapNumber() local
3290 __ cmp(FieldOperand(input_reg, HeapObject::kMapOffset), in DoDeferredMathAbsTaggedHeapNumber()
3295 Register tmp = input_reg.is(eax) ? ecx : eax; in DoDeferredMathAbsTaggedHeapNumber()
3296 Register tmp2 = tmp.is(ecx) ? edx : input_reg.is(ecx) ? edx : ecx; in DoDeferredMathAbsTaggedHeapNumber()
3301 __ mov(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc2490 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2491 __ cmp(input_reg, factory()->the_hole_value()); in DoCmpHoleAndBranch()
3560 Register input_reg = ToRegister(instr->value()); in DoDeferredMathAbsTaggedHeapNumber() local
3561 __ cmp(FieldOperand(input_reg, HeapObject::kMapOffset), in DoDeferredMathAbsTaggedHeapNumber()
3566 Register tmp = input_reg.is(eax) ? ecx : eax; in DoDeferredMathAbsTaggedHeapNumber()
3567 Register tmp2 = tmp.is(ecx) ? edx : input_reg.is(ecx) ? edx : ecx; in DoDeferredMathAbsTaggedHeapNumber()
3572 __ mov(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3590 __ LoadFromSafepointRegisterSlot(input_reg, input_reg); in DoDeferredMathAbsTaggedHeapNumber()
3593 __ mov(tmp2, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3596 __ mov(tmp2, FieldOperand(input_reg, HeapNumber::kMantissaOffset)); in DoDeferredMathAbsTaggedHeapNumber()
[all …]
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc195 void MacroAssembler::ClampDoubleToUint8(XMMRegister input_reg, in ClampDoubleToUint8() argument
201 cvtsd2si(result_reg, input_reg); in ClampDoubleToUint8()
213 ucomisd(input_reg, scratch_reg); in ClampDoubleToUint8()
231 Register input_reg, in SlowTruncateToI() argument
233 DoubleToIStub stub(isolate(), input_reg, result_reg, offset, true); in SlowTruncateToI()
239 XMMRegister input_reg) { in TruncateDoubleToI() argument
241 cvttsd2si(result_reg, Operand(input_reg)); in TruncateDoubleToI()
246 movsd(MemOperand(esp, 0), input_reg); in TruncateDoubleToI()
253 void MacroAssembler::DoubleToI(Register result_reg, XMMRegister input_reg, in DoubleToI() argument
258 DCHECK(!input_reg.is(scratch)); in DoubleToI()
[all …]
Dmacro-assembler-ia32.h421 void ClampDoubleToUint8(XMMRegister input_reg, XMMRegister scratch_reg,
424 void SlowTruncateToI(Register result_reg, Register input_reg,
427 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
428 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg);
430 void DoubleToI(Register result_reg, XMMRegister input_reg,
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc2373 Register input_reg = ToRegister(instr->object()); in DoShiftI() local
2375 __ cmp(input_reg, ip); in DoShiftI()
2380 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoShiftI() local
2381 __ fcmpu(input_reg, input_reg); in DoShiftI()
2385 __ MovDoubleHighToInt(scratch, input_reg); in DoShiftI()
2458 Register input_reg = EmitLoadRegister(instr->value(), ip); in DoShiftI() local
2459 __ TestIfSmi(input_reg, r0); in DoShiftI()
3747 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoShiftI() local
3749 __ frsp(output_reg, input_reg); in DoShiftI()
4821 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoShiftI() local
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc2223 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2225 EmitBranch(instr, eq, input_reg, Operand(at)); in DoCmpHoleAndBranch()
2229 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2230 EmitFalseBranchF(instr, eq, input_reg, input_reg); in DoCmpHoleAndBranch()
2233 __ FmoveHigh(scratch, input_reg); in DoCmpHoleAndBranch()
2293 Register input_reg = EmitLoadRegister(instr->value(), at); in DoIsSmiAndBranch() local
2294 __ And(at, input_reg, kSmiTagMask); in DoIsSmiAndBranch()
4543 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoNumberTagD() local
4559 __ sdc1(input_reg, MemOperand(reg, HeapNumber::kValueOffset)); in DoNumberTagD()
4622 void LCodeGen::EmitNumberUntagD(LNumberUntagD* instr, Register input_reg, in EmitNumberUntagD() argument
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc2311 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2313 __ cmp(input_reg, ip); in DoCmpHoleAndBranch()
2318 DwVfpRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2319 __ VFPCompareAndSetFlags(input_reg, input_reg); in DoCmpHoleAndBranch()
2323 __ VmovHigh(scratch, input_reg); in DoCmpHoleAndBranch()
2384 Register input_reg = EmitLoadRegister(instr->value(), ip); in DoIsSmiAndBranch() local
2385 __ SmiTst(input_reg); in DoIsSmiAndBranch()
3521 DwVfpRegister input_reg = ToDoubleRegister(instr->value()); in DoMathFround() local
3524 __ vcvt_f32_f64(scratch.low(), input_reg); in DoMathFround()
4567 DwVfpRegister input_reg = ToDoubleRegister(instr->value()); in DoNumberTagD() local
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc2340 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2342 EmitBranch(instr, eq, input_reg, Operand(at)); in DoCmpHoleAndBranch()
2346 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2347 EmitFalseBranchF(instr, eq, input_reg, input_reg); in DoCmpHoleAndBranch()
2350 __ FmoveHigh(scratch, input_reg); in DoCmpHoleAndBranch()
2414 Register input_reg = EmitLoadRegister(instr->value(), at); in DoIsSmiAndBranch() local
2415 __ And(at, input_reg, kSmiTagMask); in DoIsSmiAndBranch()
4747 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoNumberTagD() local
4763 __ sdc1(input_reg, MemOperand(reg, HeapNumber::kValueOffset)); in DoNumberTagD()
4826 void LCodeGen::EmitNumberUntagD(LNumberUntagD* instr, Register input_reg, in EmitNumberUntagD() argument
[all …]
/external/v8/src/
Ddeoptimizer.cc3140 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
3142 intptr_t value = registers->GetRegister(input_reg); in CreateNextTranslatedValue()
3145 converter.NameOfCPURegister(input_reg)); in CreateNextTranslatedValue()
3152 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
3154 intptr_t value = registers->GetRegister(input_reg); in CreateNextTranslatedValue()
3157 converter.NameOfCPURegister(input_reg)); in CreateNextTranslatedValue()
3163 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
3165 intptr_t value = registers->GetRegister(input_reg); in CreateNextTranslatedValue()
3168 converter.NameOfCPURegister(input_reg)); in CreateNextTranslatedValue()
3175 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
[all …]
/external/v8/src/x64/
Dmacro-assembler-x64.h1127 void ClampDoubleToUint8(XMMRegister input_reg,
1131 void SlowTruncateToI(Register result_reg, Register input_reg,
1134 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
1135 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg);
1137 void DoubleToI(Register result_reg, XMMRegister input_reg,
Dmacro-assembler-x64.cc3612 void MacroAssembler::ClampDoubleToUint8(XMMRegister input_reg, in ClampDoubleToUint8() argument
3618 Cvtsd2si(result_reg, input_reg); in ClampDoubleToUint8()
3630 Ucomisd(input_reg, temp_xmm_reg); in ClampDoubleToUint8()
3648 Register input_reg, in SlowTruncateToI() argument
3650 DoubleToIStub stub(isolate(), input_reg, result_reg, offset, true); in SlowTruncateToI()
3656 Register input_reg) { in TruncateHeapNumberToI() argument
3658 Movsd(xmm0, FieldOperand(input_reg, HeapNumber::kValueOffset)); in TruncateHeapNumberToI()
3664 if (input_reg.is(result_reg)) { in TruncateHeapNumberToI()
3670 SlowTruncateToI(result_reg, input_reg); in TruncateHeapNumberToI()
3680 XMMRegister input_reg) { in TruncateDoubleToI() argument
[all …]
/external/v8/src/ppc/
Dmacro-assembler-ppc.cc3278 void MacroAssembler::ClampUint8(Register output_reg, Register input_reg) { in ClampUint8() argument
3283 cmpi(input_reg, Operand::Zero()); in ClampUint8()
3284 isel(lt, output_reg, r0, input_reg); in ClampUint8()
3292 cmpi(input_reg, Operand::Zero()); in ClampUint8()
3295 cmpi(input_reg, Operand(satval)); in ClampUint8()
3297 if (!output_reg.is(input_reg)) { in ClampUint8()
3298 mr(output_reg, input_reg); in ClampUint8()
3323 DoubleRegister input_reg, in ClampDoubleToUint8() argument
3330 fcmpu(input_reg, double_scratch); in ClampDoubleToUint8()
3340 fcmpu(input_reg, double_scratch); in ClampDoubleToUint8()
[all …]
Dcode-stubs-ppc.cc129 Register input_reg = source(); in Generate() local
136 Register scratch = GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
138 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
140 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch_low); in Generate()
145 if (input_reg.is(sp)) double_offset += kPointerSize; in Generate()
149 __ lfd(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
169 if (input_reg.is(sp)) double_offset += 2 * kPointerSize; in Generate()
172 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()
174 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
Dmacro-assembler-ppc.h1390 void ClampUint8(Register output_reg, Register input_reg);
1396 void ClampDoubleToUint8(Register result_reg, DoubleRegister input_reg,
/external/v8/src/x87/
Dmacro-assembler-x87.h416 void SlowTruncateToI(Register result_reg, Register input_reg,
419 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
Dmacro-assembler-x87.cc229 Register input_reg, in SlowTruncateToI() argument
231 DoubleToIStub stub(isolate(), input_reg, result_reg, offset, true); in SlowTruncateToI()
273 Register input_reg) { in TruncateHeapNumberToI() argument
276 SlowTruncateToI(result_reg, input_reg); in TruncateHeapNumberToI()
/external/v8/src/mips/
Dmacro-assembler-mips.cc5577 void MacroAssembler::ClampUint8(Register output_reg, Register input_reg) { in ClampUint8() argument
5578 DCHECK(!output_reg.is(input_reg)); in ClampUint8()
5582 Branch(&done, gt, input_reg, Operand(output_reg)); in ClampUint8()
5584 Branch(USE_DELAY_SLOT, &done, lt, input_reg, Operand(zero_reg)); in ClampUint8()
5586 mov(output_reg, input_reg); // Value is in range 0..255. in ClampUint8()
5592 DoubleRegister input_reg, in ClampDoubleToUint8() argument
5599 BranchF(&above_zero, NULL, gt, input_reg, temp_double_reg); in ClampDoubleToUint8()
5608 BranchF(&in_bounds, NULL, le, input_reg, temp_double_reg); in ClampDoubleToUint8()
5614 cvt_w_d(temp_double_reg, input_reg); in ClampDoubleToUint8()
Dcode-stubs-mips.cc136 Register input_reg = source(); in Generate() local
141 if (input_reg.is(sp)) double_offset += 3 * kPointerSize; in Generate()
144 GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
146 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
148 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch2); in Generate()
155 __ ldc1(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
188 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
190 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()
/external/v8/src/arm/
Dcode-stubs-arm.cc134 Register input_reg = source(); in Generate() local
140 if (input_reg.is(sp)) double_offset += 3 * kPointerSize; in Generate()
142 Register scratch = GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
144 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
146 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch_low); in Generate()
153 __ vldr(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
168 __ ldm(ia, input_reg, scratch_low.bit() | scratch_high.bit()); in Generate()
170 __ ldr(scratch_low, MemOperand(input_reg, double_offset)); in Generate()
171 __ ldr(scratch_high, MemOperand(input_reg, double_offset + kIntSize)); in Generate()
Dmacro-assembler-arm.h1354 void ClampUint8(Register output_reg, Register input_reg);
1357 DwVfpRegister input_reg,
Dmacro-assembler-arm.cc3341 void MacroAssembler::ClampUint8(Register output_reg, Register input_reg) { in ClampUint8() argument
3342 Usat(output_reg, 8, Operand(input_reg)); in ClampUint8()
3347 DwVfpRegister input_reg, in ClampDoubleToUint8() argument
3354 VFPCompareAndSetFlags(input_reg, double_scratch); in ClampDoubleToUint8()
3359 vcvt_u32_f64(double_scratch.low(), input_reg, kFPSCRRounding); in ClampDoubleToUint8()
/external/v8/src/compiler/x87/
Dcode-generator-x87.cc1073 Register input_reg = i.InputRegister(0); in AssembleArchInstruction() local
1074 __ push(input_reg); in AssembleArchInstruction()
1076 __ pop(input_reg); in AssembleArchInstruction()
/external/v8/src/mips64/
Dmacro-assembler-mips64.cc6295 void MacroAssembler::ClampUint8(Register output_reg, Register input_reg) { in ClampUint8() argument
6296 DCHECK(!output_reg.is(input_reg)); in ClampUint8()
6300 Branch(&done, gt, input_reg, Operand(output_reg)); in ClampUint8()
6302 Branch(USE_DELAY_SLOT, &done, lt, input_reg, Operand(zero_reg)); in ClampUint8()
6304 mov(output_reg, input_reg); // Value is in range 0..255. in ClampUint8()
6310 DoubleRegister input_reg, in ClampDoubleToUint8() argument
6317 BranchF(&above_zero, NULL, gt, input_reg, temp_double_reg); in ClampDoubleToUint8()
6326 BranchF(&in_bounds, NULL, le, input_reg, temp_double_reg); in ClampDoubleToUint8()
6332 cvt_w_d(temp_double_reg, input_reg); in ClampDoubleToUint8()
Dcode-stubs-mips64.cc135 Register input_reg = source(); in Generate() local
140 if (input_reg.is(sp)) double_offset += 3 * kPointerSize; in Generate()
143 GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
145 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
147 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch2); in Generate()
153 __ ldc1(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
186 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
188 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()

12