Home
last modified time | relevance | path

Searched refs:rint (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dstrlen.c20 ffi_arg rint; in main() local
31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
32 CHECK(rint == 1); in main()
35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
36 CHECK(rint == 7); in main()
39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
40 CHECK(rint == 25); in main()
Dstrlen3.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen2.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen4.c21 ffi_arg rint; in main() local
39 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
40 CHECK(rint == 2); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 4); in main()
51 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
52 CHECK(rint == 28); in main()
Dnegint.c22 ffi_arg rint; in main() local
45 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
47 printf ("%d vs %d\n", (int)rint, checking (si, ss, sc)); in main()
49 CHECK(rint != 0); in main()
Dfloat.c25 ffi_arg rint; in main() local
52 ffi_call(&cif, FFI_FN(floating), &rint, values); in main()
54 printf ("%d vs %d\n", (int)rint, floating (si1, f, d, ld)); in main()
56 CHECK((int)rint == floating(si1, f, d, ld)); in main()
Dreturn_sc.c19 ffi_arg rint; in main() local
32 ffi_call(&cif, FFI_FN(return_sc), &rint, values); in main()
33 CHECK((signed char)rint == sc); in main()
Dreturn_uc.c20 ffi_arg rint; in main() local
34 ffi_call(&cif, FFI_FN(return_uc), &rint, values); in main()
35 CHECK((unsigned char)rint == uc); in main()
Dpromotion.c22 ffi_arg rint; in main() local
53 ffi_call(&cif, FFI_FN(promotion), &rint, values); in main()
54 CHECK((int)rint == (signed char) sc + (signed short) ss + in main()
/external/libffi/testsuite/libffi.call/
Dstrlen.c20 ffi_arg rint; in main() local
31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
32 CHECK(rint == 1); in main()
35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
36 CHECK(rint == 7); in main()
39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
40 CHECK(rint == 25); in main()
Dstrlen3.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen2.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen4.c21 ffi_arg rint; in main() local
39 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
40 CHECK(rint == 2); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 4); in main()
51 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
52 CHECK(rint == 28); in main()
Dnegint.c22 ffi_arg rint; in main() local
45 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
47 printf ("%d vs %d\n", (int)rint, checking (si, ss, sc)); in main()
49 CHECK(rint != 0); in main()
Dfloat.c25 ffi_arg rint; in main() local
52 ffi_call(&cif, FFI_FN(floating), &rint, values); in main()
54 printf ("%d vs %d\n", (int)rint, floating (si1, f, d, ld)); in main()
56 CHECK((int)rint == floating(si1, f, d, ld)); in main()
Dreturn_sc.c19 ffi_arg rint; in main() local
32 ffi_call(&cif, FFI_FN(return_sc), &rint, values); in main()
33 CHECK((signed char)rint == sc); in main()
Dreturn_uc.c20 ffi_arg rint; in main() local
34 ffi_call(&cif, FFI_FN(return_uc), &rint, values); in main()
35 CHECK((unsigned char)rint == uc); in main()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.rint.ll11 %0 = call float @llvm.rint.f32(float %in) #0
24 %0 = call <2 x float> @llvm.rint.v2f32(<2 x float> %in) #0
41 %0 = call <4 x float> @llvm.rint.v4f32(<4 x float> %in) #0
46 declare float @llvm.rint.f32(float) #0
47 declare <2 x float> @llvm.rint.v2f32(<2 x float>) #0
48 declare <4 x float> @llvm.rint.v4f32(<4 x float>) #0
Dllvm.rint.f64.ll16 %0 = call double @llvm.rint.f64(double %in)
26 %0 = call <2 x double> @llvm.rint.v2f64(<2 x double> %in)
38 %0 = call <4 x double> @llvm.rint.v4f64(<4 x double> %in)
44 declare double @llvm.rint.f64(double) #0
45 declare <2 x double> @llvm.rint.v2f64(<2 x double>) #0
46 declare <4 x double> @llvm.rint.v4f64(<4 x double>) #0
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.rint.f64.ll16 %0 = call double @llvm.rint.f64(double %in)
26 %0 = call <2 x double> @llvm.rint.v2f64(<2 x double> %in)
38 %0 = call <4 x double> @llvm.rint.v4f64(<4 x double> %in)
44 declare double @llvm.rint.f64(double) #0
45 declare <2 x double> @llvm.rint.v2f64(<2 x double>) #0
46 declare <4 x double> @llvm.rint.v4f64(<4 x double>) #0
Dllvm.rint.ll11 %0 = call float @llvm.rint.f32(float %in) #0
24 %0 = call <2 x float> @llvm.rint.v2f32(<2 x float> %in) #0
41 %0 = call <4 x float> @llvm.rint.v4f32(<4 x float> %in) #0
46 declare float @llvm.rint.f32(float) #0
47 declare <2 x float> @llvm.rint.v2f32(<2 x float>) #0
48 declare <4 x float> @llvm.rint.v4f32(<4 x float>) #0
/external/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll5 ; Test rint for f32.
6 declare float @llvm.rint.f32(float %f)
11 %res = call float @llvm.rint.f32(float %f)
15 ; Test rint for f64.
16 declare double @llvm.rint.f64(double %f)
21 %res = call double @llvm.rint.f64(double %f)
25 ; Test rint for f128.
26 declare fp128 @llvm.rint.f128(fp128 %f)
32 %res = call fp128 @llvm.rint.f128(fp128 %src)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll5 ; Test rint for f32.
6 declare float @llvm.rint.f32(float %f)
11 %res = call float @llvm.rint.f32(float %f)
15 ; Test rint for f64.
16 declare double @llvm.rint.f64(double %f)
21 %res = call double @llvm.rint.f64(double %f)
25 ; Test rint for f128.
26 declare fp128 @llvm.rint.f128(fp128 %f)
32 %res = call fp128 @llvm.rint.f128(fp128 %src)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Rint.pbtxt10 rint(-1.5) ==> -2.0
11 rint(0.5000001) ==> 1.0
12 rint([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) ==> [-2., -2., -0., 0., 2., 2., 2.]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/
Dfround.ll289 define i32 @rint(i32 %arg) {
290 ; SSE2-LABEL: 'rint'
291 …Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.rint.f32(float undef)
292 … an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> u…
293 … an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> u…
294 … estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float>…
295 …del: Found an estimated cost of 10 for instruction: %F64 = call double @llvm.rint.f64(double undef)
296 …an estimated cost of 21 for instruction: %V2F64 = call <2 x double> @llvm.rint.v2f64(<2 x double> …
297 …an estimated cost of 42 for instruction: %V4F64 = call <4 x double> @llvm.rint.v4f64(<4 x double> …
298 …an estimated cost of 84 for instruction: %V8F64 = call <8 x double> @llvm.rint.v8f64(<8 x double> …
[all …]

12345678910>>...12