Home
last modified time | relevance | path

Searched refs:ipart (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/util/
Du_math.h114 int32_t ipart; in util_fast_exp2() local
124 ipart = (int32_t) x; in util_fast_exp2()
125 fpart = x - (float) ipart; in util_fast_exp2()
131 epart.i = (ipart + 127 ) << 23; in util_fast_exp2()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h260 int32_t ipart; in util_fast_exp2() local
270 ipart = (int32_t) x; in util_fast_exp2()
271 fpart = x - (float) ipart; in util_fast_exp2()
277 epart.i = (ipart + 127 ) << 23; in util_fast_exp2()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2543 LLVMValueRef ipart; in lp_build_ifloor_fract() local
2553 ipart = lp_build_floor(bld, a); in lp_build_ifloor_fract()
2554 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); in lp_build_ifloor_fract()
2555 *out_ipart = LLVMBuildFPToSI(builder, ipart, bld->int_vec_type, "ipart"); in lp_build_ifloor_fract()
2563 ipart = LLVMBuildSIToFP(builder, *out_ipart, bld->vec_type, "ipart"); in lp_build_ifloor_fract()
2564 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); in lp_build_ifloor_fract()
3233 LLVMValueRef ipart = NULL; in lp_build_exp2() local
3259 lp_build_ifloor_fract(bld, x, &ipart, &fpart); in lp_build_exp2()
3262 expipart = LLVMBuildAdd(builder, ipart, in lp_build_exp2()
3553 LLVMValueRef ipart; in lp_build_fast_log2() local
[all …]
Dlp_bld_sample.c702 LLVMValueRef ipart; in lp_build_ilog2_sqrt() local
711 ipart = lp_build_extract_exponent(bld, x, 1); in lp_build_ilog2_sqrt()
712 ipart = LLVMBuildAShr(builder, ipart, one, ""); in lp_build_ilog2_sqrt()
714 return ipart; in lp_build_ilog2_sqrt()
/external/skia/samplecode/
DSamplePathText.cpp403 const Sk4i ipart = SkNx_cast<int>(t); in apply() local
404 const Sk4f fpart = t - SkNx_cast<float>(ipart); in apply()
407 (ipart & (kTablePeriod-1)).store(indices); in apply()
/external/skqp/samplecode/
DSamplePathText.cpp407 const Sk4i ipart = SkNx_cast<int>(t); in apply() local
408 const Sk4f fpart = t - SkNx_cast<float>(ipart); in apply()
411 (ipart & (kTablePeriod-1)).store(indices); in apply()