Searched refs:ipart (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_math.h | 205 int32_t ipart; in util_fast_exp2() local 215 ipart = (int32_t) x; in util_fast_exp2() 216 fpart = x - (float) ipart; in util_fast_exp2() 222 epart.i = (ipart + 127 ) << 23; in util_fast_exp2()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.c | 1793 LLVMValueRef ipart; in lp_build_ifloor_fract() local 1803 ipart = lp_build_floor(bld, a); in lp_build_ifloor_fract() 1804 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); in lp_build_ifloor_fract() 1805 *out_ipart = LLVMBuildFPToSI(builder, ipart, bld->int_vec_type, "ipart"); in lp_build_ifloor_fract() 1813 ipart = LLVMBuildSIToFP(builder, *out_ipart, bld->vec_type, "ipart"); in lp_build_ifloor_fract() 1814 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); in lp_build_ifloor_fract() 2611 LLVMValueRef ipart = NULL; in lp_build_exp2_approx() local 2634 lp_build_ifloor_fract(bld, x, &ipart, &fpart); in lp_build_exp2_approx() 2639 expipart = LLVMBuildAdd(builder, ipart, in lp_build_exp2_approx() 2897 LLVMValueRef ipart; in lp_build_fast_log2() local [all …]
|