Home
last modified time | relevance | path

Searched refs:nearbyint (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm/test/CodeGen/AMDGPU/
Dfnearbyint.ll8 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/
Dvec_rounding.ll75 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 …]
Dqpx-rounding-ops.ll33 %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/libpng/contrib/tools/
DmakesRGB.c63 unsigned int x = nearbyint(finvsRGB(i)); in invsRGB()
131 calc = nearbyint((lo+adjust) * 256); in main()
140 calc = nearbyint((hi-lo) * 32); in main()
155 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
227 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
308 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
340 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
365 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
Dcvtcolor.c169 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 65535); in main()
178 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 255); in main()
/external/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll37 ; 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
Dfp-round-02.ll41 ; 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)
Dvec-round-01.ll6 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/
Dvfloatintrinsics.ll104 ; 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 …]
Darm32-rounding.ll82 ; SP: b nearbyint
86 %call = call double @nearbyint(double %a) nounwind readnone
116 declare double @nearbyint(double) nounwind readnone
/external/valgrind/none/tests/mips64/
Dtest_math.stdout.exp39 nearbyint(1234.0): 1234.000000
40 nearbyint(1234.01): 1235.000000
48 nearbyint(1234.01): 1234.000000
Dtest_math.cpp77 printf("nearbyint(1234.0): %f\n", nearbyint(1234.0)); in main()
78 printf("nearbyint(1234.01): %f\n", nearbyint(1234.01)); in main()
92 printf("nearbyint(1234.01): %f\n", nearbyint(1234.01)); in main()
/external/valgrind/none/tests/mips32/
Dtest_math.stdout.exp39 nearbyint(1234.0): 1234.000000
40 nearbyint(1234.01): 1235.000000
48 nearbyint(1234.01): 1234.000000
Dtest_math.cpp77 printf("nearbyint(1234.0): %f\n", nearbyint(1234.0)); in main()
78 printf("nearbyint(1234.01): %f\n", nearbyint(1234.01)); in main()
92 printf("nearbyint(1234.01): %f\n", nearbyint(1234.01)); in main()
/external/llvm/test/CodeGen/X86/
Davx512-round.ll70 %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)
Dvec_floor.ll152 %t = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p)
155 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p)
161 %t = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %p)
164 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float> %p)
170 %t = call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p)
173 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p)
179 %t = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> %p)
182 declare <8 x float> @llvm.nearbyint.v8f32(<8 x float> %p)
Drounding-ops.ll44 %call = tail call double @nearbyint(double %x) nounwind readnone
54 declare double @nearbyint(double) nounwind readnone
Davx-cvt.ll133 %res = call double @llvm.nearbyint.f64(double %a)
136 declare double @llvm.nearbyint.f64(double %p)
/external/llvm/test/CodeGen/AArch64/
Darm64-vfloatintrinsics.ll102 ; 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 …]
Dfloatdp_1source.ll26 declare double @nearbyint(double) readonly
99 %valnearbyint = call double @nearbyint(double %val1)
Darm64-rounding.ll39 %call = tail call double @nearbyint(double %a) nounwind readnone
43 declare double @nearbyint(double) nounwind readnone
/external/llvm/test/Transforms/InstCombine/
Ddouble-float-shrink-2.ll18 ; C89-SIMPLIFY: call double @nearbyint(
23 ; DONT-SIMPLIFY: call double @nearbyint(
30 declare double @nearbyint(double)
61 %E = call double @nearbyint(double %D)
/external/llvm/test/Analysis/CostModel/X86/
Dintrinsic-cost.ll43 %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/InstSimplify/
Dcall.ll84 declare float @llvm.nearbyint.f32(float) nounwind readnone
115 ; CHECK: nearbyint
116 ; CHECK-NOT: nearbyint
117 %f0 = call float @llvm.nearbyint.f32(float %a)
118 %f1 = call float @llvm.nearbyint.f32(float %f0)
/external/llvm/test/CodeGen/Thumb2/
Dfloat-intrinsics-double.ll177 declare double @llvm.nearbyint.f64(double %Val)
180 ; SOFT: {{(bl|b)}} nearbyint
181 ; VFP4: b nearbyint
183 %1 = call double @llvm.nearbyint.f64(double %a)

123