Home
last modified time | relevance | path

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

12345678910>>...16

/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()
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()
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()
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_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/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()
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Dselect-frint.mir6 name: test_f16.rint
16 ; CHECK-LABEL: name: test_f16.rint
29 name: test_f32.rint
39 ; CHECK-LABEL: name: test_f32.rint
52 name: test_f64.rint
62 ; CHECK-LABEL: name: test_f64.rint
75 name: test_v4f32.rint
85 ; CHECK-LABEL: name: test_v4f32.rint
98 name: test_v2f64.rint
108 ; CHECK-LABEL: name: test_v2f64.rint
[all …]
Dlegalize-frint.mir5 name: test_f16.rint
20 name: test_f32.rint
28 ; NOFP16-LABEL: name: test_f32.rint
34 ; FP16-LABEL: name: test_f32.rint
47 name: test_f64.rint
55 ; NOFP16-LABEL: name: test_f64.rint
61 ; FP16-LABEL: name: test_f64.rint
74 name: test_v4f32.rint
82 ; NOFP16-LABEL: name: test_v4f32.rint
88 ; FP16-LABEL: name: test_v4f32.rint
[all …]
/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/
Drint.ll9 declare float @llvm.rint.f32(float) #0
10 declare double @rint(double) #0
11 declare double @llvm.rint.f64(double) #0
41 %x = call float @llvm.rint.f32(float -1.5) #0
65 %x = call double @rint(double 1.3) #0
73 %x = call double @llvm.rint.f64(double -1.3) #0
97 %x = call double @rint(double 2.7) #0
105 %x = call double @llvm.rint.f64(double -2.7) #0
/external/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-project/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/skia/tests/sksl/intrinsics/
DRoundEven.metal19rint(_uniforms.input.x) == _uniforms.expected.x && all(rint(_uniforms.input.xy) == _uniforms.expec…
/external/llvm-project/llvm/test/Analysis/CostModel/X86/
Dfround.ll190 define i32 @rint(i32 %arg) {
191 ; SSE2-LABEL: 'rint'
192 …Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.rint.f32(float undef)
193 … an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.rint.v4f32(<4 x float> u…
194 … an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.rint.v8f32(<8 x float> u…
195 … estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.rint.v16f32(<16 x float>…
196 …del: Found an estimated cost of 10 for instruction: %F64 = call double @llvm.rint.f64(double undef)
197 …an estimated cost of 21 for instruction: %V2F64 = call <2 x double> @llvm.rint.v2f64(<2 x double> …
198 …an estimated cost of 42 for instruction: %V4F64 = call <4 x double> @llvm.rint.v4f64(<4 x double> …
199 …an estimated cost of 84 for instruction: %V8F64 = call <8 x double> @llvm.rint.v8f64(<8 x double> …
[all …]
/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/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.]

12345678910>>...16