/external/tensorflow/tensorflow/core/platform/ |
D | setround_test.cc | 29 EXPECT_EQ(12, std::nearbyint(12.0)); in CheckDownward() 30 EXPECT_EQ(12, std::nearbyint(12.1)); in CheckDownward() 31 EXPECT_EQ(-13, std::nearbyint(-12.1)); in CheckDownward() 32 EXPECT_EQ(12, std::nearbyint(12.5)); in CheckDownward() 33 EXPECT_EQ(12, std::nearbyint(12.9)); in CheckDownward() 34 EXPECT_EQ(-13, std::nearbyint(-12.9)); in CheckDownward() 35 EXPECT_EQ(13, std::nearbyint(13.0)); in CheckDownward() 39 EXPECT_EQ(12, std::nearbyint(12.0)); in CheckToNearest() 40 EXPECT_EQ(12, std::nearbyint(12.1)); in CheckToNearest() 41 EXPECT_EQ(-12, std::nearbyint(-12.1)); in CheckToNearest() [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | fnearbyint.ll | 8 declare float @llvm.nearbyint.f32(float) #0 9 declare <2 x float> @llvm.nearbyint.v2f32(<2 x float>) #0 10 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>) #0 11 declare double @llvm.nearbyint.f64(double) #0 12 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double>) #0 13 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double>) #0 18 %0 = call float @llvm.nearbyint.f32(float %in) 25 %0 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> %in) 32 %0 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %in) 39 %0 = call double @llvm.nearbyint.f64(double %in) [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | vec_rounding.ll | 75 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p) 78 %t = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p) 82 ; CHECK: bl nearbyint 83 ; CHECK: bl nearbyint 85 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p) 88 %t = call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p) 92 ; CHECK: bl nearbyint 93 ; CHECK: bl nearbyint 94 ; CHECK: bl nearbyint 95 ; CHECK: bl nearbyint [all …]
|
D | qpx-rounding-ops.ll | 33 %call = tail call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %x) nounwind readnone 43 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>) nounwind readnone 46 %call = tail call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %x) nounwind readnone 56 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double>) nounwind readnone
|
/external/XNNPACK/eval/ |
D | f32-roundne.cc | 37 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 55 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 73 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 91 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 105 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[0])); in TEST() 117 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[0])); in TEST() 133 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 151 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 169 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() 187 const uint32_t reference_output = float_as_uint32(std::nearbyint(inputs[i])); in TEST() [all …]
|
/external/libpng/contrib/tools/ |
D | makesRGB.c | 62 unsigned int x = nearbyint(finvsRGB(i)); in invsRGB() 130 calc = nearbyint((lo+adjust) * 256); in main() 139 calc = nearbyint((hi-lo) * 32); in main() 154 unsigned int iexact = nearbyint(255*sRGB(i)); in main() 226 unsigned int iexact = nearbyint(255*sRGB(i)); in main() 307 unsigned int iexact = nearbyint(255*sRGB(i)); in main() 339 unsigned int iexact = nearbyint(255*sRGB(i)); in main() 364 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
|
D | cvtcolor.c | 167 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 65535); in main() 176 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 255); in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/diagnostics/ |
D | math_nodiscard_extensions.verify.cpp | 33 …std::nearbyint(0.); // expected-warning-re {{ignoring return value of function declared… in test() 146 …std::nearbyint(0.f); // expected-warning {{ignoring return value of function declared wi… in test() 147 …std::nearbyint(0.l); // expected-warning {{ignoring return value of function declared wi… in test() 148 …std::nearbyint(0); // expected-warning {{ignoring return value of function declared wi… in test() 149 …std::nearbyint(0U); // expected-warning {{ignoring return value of function declared wi… in test()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | fp-round-01.ll | 37 ; Test nearbyint for f32. 38 declare float @llvm.nearbyint.f32(float %f) 43 %res = call float @llvm.nearbyint.f32(float %f) 47 ; Test nearbyint for f64. 48 declare double @llvm.nearbyint.f64(double %f) 51 ; CHECK: brasl %r14, nearbyint@PLT 53 %res = call double @llvm.nearbyint.f64(double %f) 57 ; Test nearbyint for f128: omitted for now because we cannot handle
|
D | fp-round-02.ll | 41 ; Test nearbyint for f32. 42 declare float @llvm.nearbyint.f32(float %f) 47 %res = call float @llvm.nearbyint.f32(float %f) 51 ; Test nearbyint for f64. 52 declare double @llvm.nearbyint.f64(double %f) 57 %res = call double @llvm.nearbyint.f64(double %f) 61 ; Test nearbyint for f128. 62 declare fp128 @llvm.nearbyint.f128(fp128 %f) 68 %res = call fp128 @llvm.nearbyint.f128(fp128 %src)
|
D | vec-round-01.ll | 6 declare double @llvm.nearbyint.f64(double) 12 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double>) 30 %res = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %val) 80 %res = call double @llvm.nearbyint.f64(double %scalar)
|
/external/llvm/test/CodeGen/ARM/ |
D | vfloatintrinsics.ll | 104 ; CHECK: test_v2f32.nearbyint: 105 define %v2f32 @test_v2f32.nearbyint(%v2f32 %a) { 106 ; CHECK: nearbyint 107 %1 = call %v2f32 @llvm.nearbyint.v2f32(%v2f32 %a) 127 declare %v2f32 @llvm.nearbyint.v2f32(%v2f32) #0 228 ; CHECK: test_v4f32.nearbyint: 229 define %v4f32 @test_v4f32.nearbyint(%v4f32 %a) { 230 ; CHECK: nearbyint 231 %1 = call %v4f32 @llvm.nearbyint.v4f32(%v4f32 %a) 251 declare %v4f32 @llvm.nearbyint.v4f32(%v4f32) #0 [all …]
|
D | arm32-rounding.ll | 82 ; SP: b nearbyint 86 %call = call double @nearbyint(double %a) nounwind readnone 116 declare double @nearbyint(double) nounwind readnone
|
/external/llvm/test/CodeGen/X86/ |
D | avx512-round.ll | 70 %res = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> %a) 73 declare <16 x float> @llvm.nearbyint.v16f32(<16 x float> %p) 78 %res = call <8 x double> @llvm.nearbyint.v8f64(<8 x double> %a) 81 declare <8 x double> @llvm.nearbyint.v8f64(<8 x double> %p) 86 %res = call double @llvm.nearbyint.f64(double %a) 89 declare double @llvm.nearbyint.f64(double %p)
|
D | vec_floor.ll | 263 %t = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p) 266 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p) 278 %t = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %p) 281 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float> %p) 294 %t = call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p) 297 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p) 310 %t = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> %p) 313 declare <8 x float> @llvm.nearbyint.v8f32(<8 x float> %p)
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-vfloatintrinsics.ll | 102 ; CHECK: test_v2f32.nearbyint: 103 define %v2f32 @test_v2f32.nearbyint(%v2f32 %a) { 105 %1 = call %v2f32 @llvm.nearbyint.v2f32(%v2f32 %a) 125 declare %v2f32 @llvm.nearbyint.v2f32(%v2f32) #0 226 ; CHECK: test_v4f32.nearbyint: 227 define %v4f32 @test_v4f32.nearbyint(%v4f32 %a) { 229 %1 = call %v4f32 @llvm.nearbyint.v4f32(%v4f32 %a) 249 declare %v4f32 @llvm.nearbyint.v4f32(%v4f32) #0 350 ; CHECK: test_v2f64.nearbyint: 351 define %v2f64 @test_v2f64.nearbyint(%v2f64 %a) { [all …]
|
/external/llvm/test/Transforms/LICM/ |
D | hoist-round.ll | 6 ; This test verifies that ceil, floor, nearbyint, trunc, rint, round, 13 ; CHECK: call float @llvm.nearbyint.f32 35 %tmp.3 = call float @llvm.nearbyint.f32(float %tmp.2) 55 declare float @llvm.nearbyint.f32(float)
|
/external/llvm/test/Transforms/InstCombine/ |
D | double-float-shrink-2.ll | 18 ; C89-SIMPLIFY: call double @nearbyint( 23 ; DONT-SIMPLIFY: call double @nearbyint( 30 declare double @nearbyint(double) 61 %E = call double @nearbyint(double %D)
|
/external/ComputeLibrary/support/ |
D | ToolchainSupport.h | 55 inline T nearbyint(T value) in nearbyint() function 57 return static_cast<T>(::nearbyint(value)); in nearbyint() 169 inline T nearbyint(T value) 171 return static_cast<T>(std::nearbyint(value));
|
/external/llvm/test/Analysis/CostModel/X86/ |
D | intrinsic-cost.ll | 43 %2 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %wide.load) 53 … an estimated cost of 46 for instruction: %2 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float… 56 …d an estimated cost of 1 for instruction: %2 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float… 60 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>) nounwind readnone
|
/external/llvm/test/Transforms/SLPVectorizer/X86/ |
D | fround.ll | 17 declare double @llvm.nearbyint.f64(double %p) 23 declare float @llvm.nearbyint.f32(float %p) 373 ; SSE2-NEXT: [[NEARBYINT0:%.*]] = call double @llvm.nearbyint.f64(double [[LD0]]) 374 ; SSE2-NEXT: [[NEARBYINT1:%.*]] = call double @llvm.nearbyint.f64(double [[LD1]]) 381 ; SSE41-NEXT: [[TMP2:%.*]] = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> [[TMP1]]) 387 ; AVX-NEXT: [[TMP2:%.*]] = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> [[TMP1]]) 393 %nearbyint0 = call double @llvm.nearbyint.f64(double %ld0) 394 %nearbyint1 = call double @llvm.nearbyint.f64(double %ld1) 406 ; SSE2-NEXT: [[NEARBYINT0:%.*]] = call double @llvm.nearbyint.f64(double [[LD0]]) 407 ; SSE2-NEXT: [[NEARBYINT1:%.*]] = call double @llvm.nearbyint.f64(double [[LD1]]) [all …]
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 147 __DEVICE__ double nearbyint(double); 148 __DEVICE__ float nearbyint(float); 241 using ::nearbyint;
|
/external/llvm/test/Transforms/InstSimplify/ |
D | call.ll | 85 declare float @llvm.nearbyint.f32(float) nounwind readnone 116 ; CHECK: nearbyint 117 ; CHECK-NOT: nearbyint 118 %f0 = call float @llvm.nearbyint.f32(float %a) 119 %f1 = call float @llvm.nearbyint.f32(float %f0)
|
/external/musl/src/math/aarch64/ |
D | nearbyint.c | 3 double nearbyint(double x) in nearbyint() function
|
/external/musl/src/math/s390x/ |
D | nearbyint.c | 5 double nearbyint(double x) in nearbyint() function
|