/external/llvm-project/libc/test/src/math/ |
D | truncf_test.cpp | 23 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/ |
D | vrndz-scalar-libm-x4.c | 34 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()
|
D | vrndz-scalar-libm-x2.c | 32 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()
|
D | vrndz-scalar-libm-x1.c | 29 const float vy = truncf(vx); in xnn_f32_vrndz_ukernel__scalar_libm_x1()
|
/external/llvm/test/CodeGen/ARM/ |
D | floorf.ll | 19 ; CHECK-NOT: truncf 20 %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone 26 declare float @truncf(float) nounwind readnone
|
D | arm32-rounding.ll | 60 %call = call float @truncf(float %a) nounwind readnone 113 declare float @truncf(float) nounwind readnone
|
/external/llvm-project/llvm/test/CodeGen/ARM/ |
D | floorf.ll | 19 ; CHECK-NOT: truncf 20 %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone 26 declare float @truncf(float) nounwind readnone
|
D | arm32-rounding.ll | 60 %call = call float @truncf(float %a) nounwind readnone 113 declare float @truncf(float) nounwind readnone
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/ |
D | trunc.ll | 4 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/ |
D | truncf.rs | 4 pub fn truncf(x: f32) -> f32 { in truncf() function 38 assert_eq!(super::truncf(1.1), 1.0); in sanity_check()
|
D | mod.rs | 176 mod truncf; module 290 pub use self::truncf::truncf;
|
/external/llvm-project/libc/fuzzing/math/ |
D | math_differential_fuzz.cpp | 92 SingleInputSingleOutputDiff<float>(&__llvm_libc::truncf, &::truncf, data, in LLVMFuzzerTestOneInput()
|
/external/llvm/test/Transforms/InstCombine/ |
D | float-shrink-compare.ll | 85 ; 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
|
D | double-float-shrink-2.ll | 12 ; DO-SIMPLIFY: call float @truncf( 68 ; --> truncf
|
/external/llvm-project/libc/src/math/ |
D | truncf.h | 14 float truncf(float x);
|
D | truncf.cpp | 14 float LLVM_LIBC_ENTRYPOINT(truncf)(float x) { return fputil::trunc(x); } in LLVM_LIBC_ENTRYPOINT() argument
|
/external/XNNPACK/src/math/ |
D | roundz-scalar-trunc.c | 24 const float vy = truncf(vx); in xnn_math_f32_roundz__scalar_trunc()
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-rounding.ll | 92 %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
|
D | round-conv.ll | 168 %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/ |
D | arm64-rounding.ll | 92 %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
|
D | round-conv.ll | 168 %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/ |
D | freedreno_guardband.h | 95 ((unsigned) truncf(gb_adj_mantissa * (1 << 7)) - (1 << 6)); in fd_calc_guardband()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | rounding-ops.ll | 79 %call = tail call float @truncf(float %x) nounwind readnone 88 declare float @truncf(float) nounwind readnone
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | rounding-ops.ll | 79 %call = tail call float @truncf(float %x) nounwind readnone 88 declare float @truncf(float) nounwind readnone
|
/external/llvm/test/CodeGen/X86/ |
D | rounding-ops.ll | 109 %call = tail call float @truncf(float %x) nounwind readnone 119 declare float @truncf(float) nounwind readnone
|