Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2800 LLVMValueRef logexp = NULL; in lp_build_log2_approx() local
2829 logexp = LLVMBuildLShr(builder, exp, lp_build_const_int_vec(bld->gallivm, type, 23), ""); in lp_build_log2_approx()
2830 logexp = LLVMBuildSub(builder, logexp, lp_build_const_int_vec(bld->gallivm, type, 127), ""); in lp_build_log2_approx()
2831 logexp = LLVMBuildSIToFP(builder, logexp, vec_type, ""); in lp_build_log2_approx()
2856 res = lp_build_add(bld, logmant, logexp); in lp_build_log2_approx()
2865 *p_floor_log2 = logexp; in lp_build_log2_approx()