Home
last modified time | relevance | path

Searched refs:truncf (Results 1 – 25 of 113) sorted by relevance

12345

/external/llvm-project/libc/test/src/math/
Dtruncf_test.cpp23 EXPECT_FP_EQ(zero, __llvm_libc::truncf(zero)); in TEST()
24 EXPECT_FP_EQ(negZero, __llvm_libc::truncf(negZero)); in TEST()
26 EXPECT_FP_EQ(inf, __llvm_libc::truncf(inf)); in TEST()
27 EXPECT_FP_EQ(negInf, __llvm_libc::truncf(negInf)); in TEST()
30 ASSERT_NE(isnan(__llvm_libc::truncf(nan)), 0); in TEST()
34 EXPECT_FP_EQ(1.0f, __llvm_libc::truncf(1.0f)); in TEST()
35 EXPECT_FP_EQ(-1.0f, __llvm_libc::truncf(-1.0f)); in TEST()
36 EXPECT_FP_EQ(10.0f, __llvm_libc::truncf(10.0f)); in TEST()
37 EXPECT_FP_EQ(-10.0f, __llvm_libc::truncf(-10.0f)); in TEST()
38 EXPECT_FP_EQ(1234.0f, __llvm_libc::truncf(1234.0f)); in TEST()
[all …]
/external/XNNPACK/src/f32-vrnd/gen/
Dvrndz-scalar-libm-x4.c34 const float vy0 = truncf(vx0); in xnn_f32_vrndz_ukernel__scalar_libm_x4()
35 const float vy1 = truncf(vx1); in xnn_f32_vrndz_ukernel__scalar_libm_x4()
36 const float vy2 = truncf(vx2); in xnn_f32_vrndz_ukernel__scalar_libm_x4()
37 const float vy3 = truncf(vx3); in xnn_f32_vrndz_ukernel__scalar_libm_x4()
48 const float vy = truncf(vx); in xnn_f32_vrndz_ukernel__scalar_libm_x4()
Dvrndz-scalar-libm-x2.c32 const float vy0 = truncf(vx0); in xnn_f32_vrndz_ukernel__scalar_libm_x2()
33 const float vy1 = truncf(vx1); in xnn_f32_vrndz_ukernel__scalar_libm_x2()
41 const float vy = truncf(vx); in xnn_f32_vrndz_ukernel__scalar_libm_x2()
Dvrndz-scalar-libm-x1.c29 const float vy = truncf(vx); in xnn_f32_vrndz_ukernel__scalar_libm_x1()
/external/llvm/test/CodeGen/ARM/
Dfloorf.ll19 ; CHECK-NOT: truncf
20 %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone
26 declare float @truncf(float) nounwind readnone
Darm32-rounding.ll60 %call = call float @truncf(float %a) nounwind readnone
113 declare float @truncf(float) nounwind readnone
/external/llvm-project/llvm/test/CodeGen/ARM/
Dfloorf.ll19 ; CHECK-NOT: truncf
20 %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone
26 declare float @truncf(float) nounwind readnone
Darm32-rounding.ll60 %call = call float @truncf(float %a) nounwind readnone
113 declare float @truncf(float) nounwind readnone
/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/
Dtrunc.ll4 declare float @truncf(float) #0
13 %x = call float @truncf(float 1.25) #0
29 %x = call float @truncf(float 1.5) #0
45 %x = call float @truncf(float 2.75) #0
/external/rust/crates/libm/src/math/
Dtruncf.rs4 pub fn truncf(x: f32) -> f32 { in truncf() function
38 assert_eq!(super::truncf(1.1), 1.0); in sanity_check()
Dmod.rs176 mod truncf; module
290 pub use self::truncf::truncf;
/external/llvm-project/libc/fuzzing/math/
Dmath_differential_fuzz.cpp92 SingleInputSingleOutputDiff<float>(&__llvm_libc::truncf, &::truncf, data, in LLVMFuzzerTestOneInput()
/external/llvm/test/Transforms/InstCombine/
Dfloat-shrink-compare.ll85 ; CHECK-NEXT: %truncf = call float @truncf(float %x)
86 ; CHECK-NEXT: fcmp oeq float %truncf, %y
169 ; CHECK-NEXT: %truncf = call float @truncf(float %x)
170 ; CHECK-NEXT: fcmp oeq float %truncf, %y
Ddouble-float-shrink-2.ll12 ; DO-SIMPLIFY: call float @truncf(
68 ; --> truncf
/external/llvm-project/libc/src/math/
Dtruncf.h14 float truncf(float x);
Dtruncf.cpp14 float LLVM_LIBC_ENTRYPOINT(truncf)(float x) { return fputil::trunc(x); } in LLVM_LIBC_ENTRYPOINT() argument
/external/XNNPACK/src/math/
Droundz-scalar-trunc.c24 const float vy = truncf(vx); in xnn_math_f32_roundz__scalar_trunc()
/external/llvm-project/llvm/test/CodeGen/AArch64/
Darm64-rounding.ll92 %call = tail call float @truncf(float %a) nounwind readnone
96 declare float @truncf(float) nounwind readnone
172 %call = tail call float @truncf(float %a) nounwind readnone
Dround-conv.ll168 %call = call float @truncf(float %a) nounwind readnone
178 %call = call float @truncf(float %a) nounwind readnone
208 %call = call float @truncf(float %a) nounwind readnone
218 %call = call float @truncf(float %a) nounwind readnone
327 declare float @truncf(float) nounwind readnone
/external/llvm/test/CodeGen/AArch64/
Darm64-rounding.ll92 %call = tail call float @truncf(float %a) nounwind readnone
96 declare float @truncf(float) nounwind readnone
172 %call = tail call float @truncf(float %a) nounwind readnone
Dround-conv.ll168 %call = call float @truncf(float %a) nounwind readnone
178 %call = call float @truncf(float %a) nounwind readnone
208 %call = call float @truncf(float %a) nounwind readnone
218 %call = call float @truncf(float %a) nounwind readnone
327 declare float @truncf(float) nounwind readnone
/external/mesa3d/src/freedreno/common/
Dfreedreno_guardband.h95 ((unsigned) truncf(gb_adj_mantissa * (1 << 7)) - (1 << 6)); in fd_calc_guardband()
/external/llvm/test/CodeGen/PowerPC/
Drounding-ops.ll79 %call = tail call float @truncf(float %x) nounwind readnone
88 declare float @truncf(float) nounwind readnone
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Drounding-ops.ll79 %call = tail call float @truncf(float %x) nounwind readnone
88 declare float @truncf(float) nounwind readnone
/external/llvm/test/CodeGen/X86/
Drounding-ops.ll109 %call = tail call float @truncf(float %x) nounwind readnone
119 declare float @truncf(float) nounwind readnone

12345