/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util_test.cc | 237 double double_result = std::frexp(0.0, &double_shift); in TEST() local 238 EXPECT_EQ(double_result, 0); in TEST() 244 double_result = std::frexp(1.0, &double_shift); in TEST() 245 EXPECT_NEAR(double_result, 0.5, 1e-5); in TEST() 251 double_result = std::frexp(0.25, &double_shift); in TEST() 252 EXPECT_NEAR(double_result, 0.5, 1e-5); in TEST() 258 double_result = std::frexp(-1.0, &double_shift); in TEST() 259 EXPECT_NEAR(double_result, -0.5, 1e-5); in TEST() 265 double_result = std::frexp(123.45, &double_shift); in TEST() 266 EXPECT_NEAR(double_result, 0.964453, 1e-5); in TEST()
|
D | log_quantized_test.cc | 64 double double_result = tflite::TfLiteRound(float_log_sum_of_exps * in LogPositiveValuesViaFloat() local 67 std::min(max_int, std::max(min_int, double_result))); in LogPositiveValuesViaFloat()
|
/external/v8/src/builtins/x64/ |
D | builtins-x64.cc | 2628 const XMMRegister double_result = xmm3; in Generate_MathPowInternal() local 2637 __ Cvtlsi2sd(double_result, scratch); in Generate_MathPowInternal() 2682 __ Movsd(double_result, Operand(rsp, 0)); in Generate_MathPowInternal() 2697 __ Movsd(double_scratch2, double_result); // Load double_exponent with 1. in Generate_MathPowInternal() 2711 __ Movsd(double_result, double_scratch); in Generate_MathPowInternal() 2718 __ Mulsd(double_result, double_scratch); in Generate_MathPowInternal() 2725 __ Divsd(double_scratch2, double_result); in Generate_MathPowInternal() 2726 __ Movsd(double_result, double_scratch2); in Generate_MathPowInternal() 2730 __ Ucomisd(double_scratch2, double_result); in Generate_MathPowInternal() 2748 __ Movsd(double_result, xmm0); in Generate_MathPowInternal()
|
/external/v8/src/builtins/ia32/ |
D | builtins-ia32.cc | 2681 const XMMRegister double_result = xmm3; in Generate_MathPowInternal() local 2690 __ Cvtsi2sd(double_result, scratch); in Generate_MathPowInternal() 2734 __ movsd(double_result, Operand(esp, 0)); in Generate_MathPowInternal() 2748 __ movsd(double_scratch2, double_result); // Load double_exponent with 1. in Generate_MathPowInternal() 2762 __ movsd(double_result, double_scratch); in Generate_MathPowInternal() 2769 __ mulsd(double_result, double_scratch); in Generate_MathPowInternal() 2777 __ divsd(double_scratch2, double_result); in Generate_MathPowInternal() 2778 __ movsd(double_result, double_scratch2); in Generate_MathPowInternal() 2782 __ ucomisd(double_scratch2, double_result); // Result cannot be NaN. in Generate_MathPowInternal() 2802 __ movsd(double_result, Operand(esp, 0)); in Generate_MathPowInternal()
|
/external/v8/src/builtins/arm/ |
D | builtins-arm.cc | 2513 const LowDwVfpRegister double_result = d2; in Generate_MathPowInternal() local 2535 __ MovFromFloatResult(double_result); in Generate_MathPowInternal() 2542 __ vmov(double_result, Double(1.0), scratch); in Generate_MathPowInternal() 2552 __ vmul(double_result, double_result, double_scratch, cs); in Generate_MathPowInternal() 2559 __ vdiv(double_result, double_scratch, double_result); in Generate_MathPowInternal() 2562 __ VFPCompareAndSetFlags(double_result, 0.0); in Generate_MathPowInternal() 2578 __ MovFromFloatResult(double_result); in Generate_MathPowInternal()
|
/external/v8/src/builtins/ppc/ |
D | builtins-ppc.cc | 2652 const DoubleRegister double_result = d3; in Generate_MathPowInternal() local 2673 __ MovFromFloatResult(double_result); in Generate_MathPowInternal() 2685 __ ConvertIntToDouble(scratch2, double_result); in Generate_MathPowInternal() 2703 __ fmul(double_result, double_result, double_scratch); in Generate_MathPowInternal() 2716 __ fdiv(double_result, double_scratch, double_result); in Generate_MathPowInternal() 2719 __ fcmpu(double_result, kDoubleRegZero); in Generate_MathPowInternal() 2736 __ MovFromFloatResult(double_result); in Generate_MathPowInternal()
|
/external/v8/src/builtins/s390/ |
D | builtins-s390.cc | 2641 const DoubleRegister double_result = d3; in Generate_MathPowInternal() local 2660 __ MovFromFloatResult(double_result); in Generate_MathPowInternal() 2672 __ ConvertIntToDouble(double_result, scratch2); in Generate_MathPowInternal() 2686 __ mdbr(double_result, double_scratch); in Generate_MathPowInternal() 2699 __ ldr(double_scratch, double_result); in Generate_MathPowInternal() 2701 __ ConvertIntToDouble(double_result, scratch2); in Generate_MathPowInternal() 2702 __ ddbr(double_result, double_scratch); in Generate_MathPowInternal() 2707 __ cdbr(double_result, kDoubleRegZero); in Generate_MathPowInternal() 2722 __ MovFromFloatResult(double_result); in Generate_MathPowInternal()
|
/external/v8/src/builtins/mips64/ |
D | builtins-mips64.cc | 2627 const DoubleRegister double_result = f0; in Generate_MathPowInternal() local 2650 __ MovFromFloatResult(double_result); in Generate_MathPowInternal() 2663 __ Move(double_result, 1.0); in Generate_MathPowInternal() 2682 __ mul_d(double_result, double_result, double_scratch); in Generate_MathPowInternal() 2696 __ div_d(double_result, double_scratch, double_result); in Generate_MathPowInternal() 2699 __ CompareF64(EQ, double_result, kDoubleRegZero); in Generate_MathPowInternal() 2717 __ MovFromFloatResult(double_result); in Generate_MathPowInternal()
|
/external/v8/src/builtins/mips/ |
D | builtins-mips.cc | 2608 const DoubleRegister double_result = f0; in Generate_MathPowInternal() local 2631 __ MovFromFloatResult(double_result); in Generate_MathPowInternal() 2644 __ Move(double_result, 1.0); in Generate_MathPowInternal() 2663 __ mul_d(double_result, double_result, double_scratch); in Generate_MathPowInternal() 2677 __ div_d(double_result, double_scratch, double_result); in Generate_MathPowInternal() 2680 __ CompareF64(EQ, double_result, kDoubleRegZero); in Generate_MathPowInternal() 2698 __ MovFromFloatResult(double_result); in Generate_MathPowInternal()
|