Home
last modified time | relevance | path

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

12

/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc2055 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2056 __ cmp(input_reg, factory()->the_hole_value()); in DoCmpHoleAndBranch()
2061 XMMRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2062 __ ucomisd(input_reg, input_reg); in DoCmpHoleAndBranch()
2066 __ movsd(MemOperand(esp, 0), input_reg); in DoCmpHoleAndBranch()
2968 Register input_reg = ToRegister(instr->value()); in DoDeferredMathAbsTaggedHeapNumber() local
2969 __ cmp(FieldOperand(input_reg, HeapObject::kMapOffset), in DoDeferredMathAbsTaggedHeapNumber()
2975 available_regs &= ~input_reg.bit(); in DoDeferredMathAbsTaggedHeapNumber()
2991 __ mov(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3009 __ LoadFromSafepointRegisterSlot(input_reg, input_reg); in DoDeferredMathAbsTaggedHeapNumber()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc2219 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2220 __ Cmp(input_reg, factory()->the_hole_value()); in DoCmpHoleAndBranch()
2225 XMMRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2226 __ Ucomisd(input_reg, input_reg); in DoCmpHoleAndBranch()
2230 __ Movsd(MemOperand(rsp, 0), input_reg); in DoCmpHoleAndBranch()
3162 Register input_reg = ToRegister(instr->value()); in DoDeferredMathAbsTaggedHeapNumber() local
3163 __ CompareRoot(FieldOperand(input_reg, HeapObject::kMapOffset), in DoDeferredMathAbsTaggedHeapNumber()
3169 available_regs &= ~input_reg.bit(); in DoDeferredMathAbsTaggedHeapNumber()
3185 __ movl(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3203 __ LoadFromSafepointRegisterSlot(input_reg, input_reg); in DoDeferredMathAbsTaggedHeapNumber()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc2331 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2332 __ cmp(input_reg, factory()->the_hole_value()); in DoCmpHoleAndBranch()
3252 Register input_reg = ToRegister(instr->value()); in DoDeferredMathAbsTaggedHeapNumber() local
3253 __ cmp(FieldOperand(input_reg, HeapObject::kMapOffset), in DoDeferredMathAbsTaggedHeapNumber()
3259 available_regs &= ~input_reg.bit(); in DoDeferredMathAbsTaggedHeapNumber()
3275 __ mov(tmp, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3293 __ LoadFromSafepointRegisterSlot(input_reg, input_reg); in DoDeferredMathAbsTaggedHeapNumber()
3296 __ mov(tmp2, FieldOperand(input_reg, HeapNumber::kExponentOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3299 __ mov(tmp2, FieldOperand(input_reg, HeapNumber::kMantissaOffset)); in DoDeferredMathAbsTaggedHeapNumber()
3301 __ StoreToSafepointRegisterSlot(input_reg, tmp); in DoDeferredMathAbsTaggedHeapNumber()
[all …]
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc227 void MacroAssembler::ClampDoubleToUint8(XMMRegister input_reg, in ClampDoubleToUint8() argument
233 cvtsd2si(result_reg, input_reg); in ClampDoubleToUint8()
245 ucomisd(input_reg, scratch_reg); in ClampDoubleToUint8()
263 Register input_reg, in SlowTruncateToI() argument
265 DoubleToIStub stub(isolate(), input_reg, result_reg, offset, true); in SlowTruncateToI()
271 XMMRegister input_reg) { in TruncateDoubleToI() argument
273 cvttsd2si(result_reg, Operand(input_reg)); in TruncateDoubleToI()
278 movsd(MemOperand(esp, 0), input_reg); in TruncateDoubleToI()
285 void MacroAssembler::DoubleToI(Register result_reg, XMMRegister input_reg, in DoubleToI() argument
290 DCHECK(!input_reg.is(scratch)); in DoubleToI()
[all …]
Dmacro-assembler-ia32.h422 void ClampDoubleToUint8(XMMRegister input_reg, XMMRegister scratch_reg,
425 void SlowTruncateToI(Register result_reg, Register input_reg,
428 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
429 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg);
431 void DoubleToI(Register result_reg, XMMRegister input_reg,
Dcode-stubs-ia32.cc122 Register input_reg = this->source(); in Generate() local
131 if (input_reg.is(esp)) double_offset += 3 * kPointerSize; in Generate()
133 MemOperand mantissa_operand(MemOperand(input_reg, double_offset)); in Generate()
134 MemOperand exponent_operand(MemOperand(input_reg, in Generate()
142 if (!final_result_reg.is(scratch1) && !input_reg.is(scratch1)) break; in Generate()
155 bool stash_exponent_copy = !input_reg.is(esp); in Generate()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc2363 Register input_reg = ToRegister(instr->object()); in DoShiftI() local
2365 __ cmp(input_reg, ip); in DoShiftI()
2370 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoShiftI() local
2371 __ fcmpu(input_reg, input_reg); in DoShiftI()
2375 __ MovDoubleHighToInt(scratch, input_reg); in DoShiftI()
2408 Register input_reg = EmitLoadRegister(instr->value(), ip); in DoShiftI() local
2409 __ TestIfSmi(input_reg, r0); in DoShiftI()
3537 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoShiftI() local
3539 __ frim(output_reg, input_reg); in DoShiftI()
3565 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoShiftI() local
[all …]
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc2361 Register input_reg = ToRegister(instr->object()); in DoShiftI() local
2362 __ CmpP(input_reg, Operand(factory()->the_hole_value())); in DoShiftI()
2367 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoShiftI() local
2368 __ cdbr(input_reg, input_reg); in DoShiftI()
2373 __ lgdr(scratch, input_reg); in DoShiftI()
2404 Register input_reg = EmitLoadRegister(instr->value(), ip); in DoShiftI() local
2405 __ TestIfSmi(input_reg); in DoShiftI()
3532 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoShiftI() local
3536 __ ledbr(output_reg, input_reg); in DoShiftI()
4622 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoShiftI() local
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc2262 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2264 __ cmp(input_reg, ip); in DoCmpHoleAndBranch()
2269 DwVfpRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2270 __ VFPCompareAndSetFlags(input_reg, input_reg); in DoCmpHoleAndBranch()
2274 __ VmovHigh(scratch, input_reg); in DoCmpHoleAndBranch()
2308 Register input_reg = EmitLoadRegister(instr->value(), ip); in DoIsSmiAndBranch() local
2309 __ SmiTst(input_reg); in DoIsSmiAndBranch()
3369 DwVfpRegister input_reg = ToDoubleRegister(instr->value()); in DoMathFround() local
3372 __ vcvt_f32_f64(scratch.low(), input_reg); in DoMathFround()
4393 DwVfpRegister input_reg = ToDoubleRegister(instr->value()); in DoNumberTagD() local
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc2171 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2173 EmitBranch(instr, eq, input_reg, Operand(at)); in DoCmpHoleAndBranch()
2177 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2178 EmitFalseBranchF(instr, eq, input_reg, input_reg); in DoCmpHoleAndBranch()
2181 __ FmoveHigh(scratch, input_reg); in DoCmpHoleAndBranch()
2215 Register input_reg = EmitLoadRegister(instr->value(), at); in DoIsSmiAndBranch() local
2216 __ And(at, input_reg, kSmiTagMask); in DoIsSmiAndBranch()
4363 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoNumberTagD() local
4377 __ sdc1(input_reg, FieldMemOperand(reg, HeapNumber::kValueOffset)); in DoNumberTagD()
4437 void LCodeGen::EmitNumberUntagD(LNumberUntagD* instr, Register input_reg, in EmitNumberUntagD() argument
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc2291 Register input_reg = ToRegister(instr->object()); in DoCmpHoleAndBranch() local
2293 EmitBranch(instr, eq, input_reg, Operand(at)); in DoCmpHoleAndBranch()
2297 DoubleRegister input_reg = ToDoubleRegister(instr->object()); in DoCmpHoleAndBranch() local
2298 EmitFalseBranchF(instr, eq, input_reg, input_reg); in DoCmpHoleAndBranch()
2301 __ FmoveHigh(scratch, input_reg); in DoCmpHoleAndBranch()
2336 Register input_reg = EmitLoadRegister(instr->value(), at); in DoIsSmiAndBranch() local
2337 __ And(at, input_reg, kSmiTagMask); in DoIsSmiAndBranch()
4556 DoubleRegister input_reg = ToDoubleRegister(instr->value()); in DoNumberTagD() local
4571 __ sdc1(input_reg, FieldMemOperand(reg, HeapNumber::kValueOffset)); in DoNumberTagD()
4630 void LCodeGen::EmitNumberUntagD(LNumberUntagD* instr, Register input_reg, in EmitNumberUntagD() argument
[all …]
/external/v8/src/
Ddeoptimizer.cc3396 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
3398 intptr_t value = registers->GetRegister(input_reg); in CreateNextTranslatedValue()
3401 converter.NameOfCPURegister(input_reg)); in CreateNextTranslatedValue()
3408 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
3410 intptr_t value = registers->GetRegister(input_reg); in CreateNextTranslatedValue()
3413 converter.NameOfCPURegister(input_reg)); in CreateNextTranslatedValue()
3419 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
3421 intptr_t value = registers->GetRegister(input_reg); in CreateNextTranslatedValue()
3424 converter.NameOfCPURegister(input_reg)); in CreateNextTranslatedValue()
3431 int input_reg = iterator->Next(); in CreateNextTranslatedValue() local
[all …]
/external/v8/src/x64/
Dmacro-assembler-x64.h1163 void ClampDoubleToUint8(XMMRegister input_reg,
1167 void SlowTruncateToI(Register result_reg, Register input_reg,
1170 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
1171 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg);
1173 void DoubleToI(Register result_reg, XMMRegister input_reg,
Dmacro-assembler-x64.cc3696 void MacroAssembler::ClampDoubleToUint8(XMMRegister input_reg, in ClampDoubleToUint8() argument
3702 Cvtsd2si(result_reg, input_reg); in ClampDoubleToUint8()
3714 Ucomisd(input_reg, temp_xmm_reg); in ClampDoubleToUint8()
3732 Register input_reg, in SlowTruncateToI() argument
3734 DoubleToIStub stub(isolate(), input_reg, result_reg, offset, true); in SlowTruncateToI()
3740 Register input_reg) { in TruncateHeapNumberToI() argument
3742 Movsd(kScratchDoubleReg, FieldOperand(input_reg, HeapNumber::kValueOffset)); in TruncateHeapNumberToI()
3748 if (input_reg.is(result_reg)) { in TruncateHeapNumberToI()
3754 SlowTruncateToI(result_reg, input_reg); in TruncateHeapNumberToI()
3764 XMMRegister input_reg) { in TruncateDoubleToI() argument
[all …]
Dcode-stubs-x64.cc96 Register input_reg = this->source(); in Generate() local
105 if (input_reg.is(rsp)) double_offset += 3 * kRegisterSize; in Generate()
107 MemOperand mantissa_operand(MemOperand(input_reg, double_offset)); in Generate()
108 MemOperand exponent_operand(MemOperand(input_reg, in Generate()
115 if (!final_result_reg.is(scratch1) && !input_reg.is(scratch1)) break; in Generate()
128 bool stash_exponent_copy = !input_reg.is(rsp); in Generate()
/external/v8/src/ppc/
Dmacro-assembler-ppc.cc3205 void MacroAssembler::ClampUint8(Register output_reg, Register input_reg) { in ClampUint8() argument
3210 cmpi(input_reg, Operand::Zero()); in ClampUint8()
3211 isel(lt, output_reg, r0, input_reg); in ClampUint8()
3219 cmpi(input_reg, Operand::Zero()); in ClampUint8()
3222 cmpi(input_reg, Operand(satval)); in ClampUint8()
3224 if (!output_reg.is(input_reg)) { in ClampUint8()
3225 mr(output_reg, input_reg); in ClampUint8()
3250 DoubleRegister input_reg, in ClampDoubleToUint8() argument
3257 fcmpu(input_reg, double_scratch); in ClampDoubleToUint8()
3267 fcmpu(input_reg, double_scratch); in ClampDoubleToUint8()
[all …]
Dcode-stubs-ppc.cc69 Register input_reg = source(); in Generate() local
76 Register scratch = GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
78 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
80 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch_low); in Generate()
85 if (input_reg.is(sp)) double_offset += kPointerSize; in Generate()
89 __ lfd(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
109 if (input_reg.is(sp)) double_offset += 2 * kPointerSize; in Generate()
112 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()
114 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
/external/v8/src/s390/
Dcode-stubs-s390.cc67 Register input_reg = source(); in Generate() local
74 Register scratch = GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
76 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
78 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch_low); in Generate()
83 if (input_reg.is(sp)) double_offset += kPointerSize; in Generate()
87 __ LoadDouble(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
107 if (input_reg.is(sp)) double_offset += 2 * kPointerSize; in Generate()
110 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()
112 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
Dmacro-assembler-s390.cc2955 void MacroAssembler::ClampUint8(Register output_reg, Register input_reg) { in ClampUint8() argument
2959 CmpP(input_reg, Operand::Zero()); in ClampUint8()
2962 CmpP(input_reg, Operand(satval)); in ClampUint8()
2964 if (!output_reg.is(input_reg)) { in ClampUint8()
2965 LoadRR(output_reg, input_reg); in ClampUint8()
2980 DoubleRegister input_reg, in ClampDoubleToUint8() argument
2987 cdbr(input_reg, double_scratch); in ClampDoubleToUint8()
2997 cdbr(input_reg, double_scratch); in ClampDoubleToUint8()
3006 cfdbr(ROUND_TO_NEAREST_WITH_TIES_TO_EVEN, result_reg, input_reg); in ClampDoubleToUint8()
/external/v8/src/arm/
Dcode-stubs-arm.cc74 Register input_reg = source(); in Generate() local
80 if (input_reg.is(sp)) double_offset += 3 * kPointerSize; in Generate()
82 Register scratch = GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
84 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
86 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch_low); in Generate()
93 __ vldr(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
108 __ ldm(ia, input_reg, scratch_low.bit() | scratch_high.bit()); in Generate()
110 __ ldr(scratch_low, MemOperand(input_reg, double_offset)); in Generate()
111 __ ldr(scratch_high, MemOperand(input_reg, double_offset + kIntSize)); in Generate()
/external/v8/src/compiler/x87/
Dcode-generator-x87.cc1465 Register input_reg = i.InputRegister(0); in AssembleArchInstruction() local
1466 __ push(input_reg); in AssembleArchInstruction()
1468 __ pop(input_reg); in AssembleArchInstruction()
1525 Register input_reg = i.InputRegister(0); in AssembleArchInstruction() local
1526 __ push(input_reg); in AssembleArchInstruction()
1528 __ pop(input_reg); in AssembleArchInstruction()
/external/v8/src/mips64/
Dcode-stubs-mips64.cc76 Register input_reg = source(); in Generate() local
81 if (input_reg.is(sp)) double_offset += 3 * kPointerSize; in Generate()
84 GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
86 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
88 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch2); in Generate()
94 __ ldc1(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
127 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
129 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()
/external/v8/src/mips/
Dcode-stubs-mips.cc77 Register input_reg = source(); in Generate() local
82 if (input_reg.is(sp)) double_offset += 3 * kPointerSize; in Generate()
85 GetRegisterThatIsNotOneOf(input_reg, result_reg); in Generate()
87 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch); in Generate()
89 GetRegisterThatIsNotOneOf(input_reg, result_reg, scratch, scratch2); in Generate()
96 __ ldc1(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
129 MemOperand(input_reg, double_offset + Register::kMantissaOffset)); in Generate()
131 MemOperand(input_reg, double_offset + Register::kExponentOffset)); in Generate()
/external/v8/src/x87/
Dmacro-assembler-x87.h420 void SlowTruncateToI(Register result_reg, Register input_reg,
423 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h2774 uint8x16_t input_reg = vld1q_u8(input_row_ptr); in AveragePool() local
2776 acc_reg[0] = vaddw_u8(acc_reg[0], vget_low_u8(input_reg)); in AveragePool()
2777 acc_reg[1] = vaddw_u8(acc_reg[1], vget_high_u8(input_reg)); in AveragePool()
2784 uint8x8_t input_reg = vld1_u8(input_row_ptr); in AveragePool() local
2786 acc_reg = vaddw_u8(acc_reg, input_reg); in AveragePool()
2989 uint8x16_t input_reg = vld1q_u8(input_row_ptr); in MaxPool() local
2991 acc_reg = vmaxq_u8(acc_reg, input_reg); in MaxPool()
2997 uint8x8_t input_reg = vld1_u8(input_row_ptr); in MaxPool() local
2999 acc_reg = vmax_u8(acc_reg, input_reg); in MaxPool()

12