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.c3416 LLVMValueRef logexp = NULL; in lp_build_log2_approx() local
3445 logexp = LLVMBuildLShr(builder, exp, lp_build_const_int_vec(bld->gallivm, type, 23), ""); in lp_build_log2_approx()
3446 logexp = LLVMBuildSub(builder, logexp, lp_build_const_int_vec(bld->gallivm, type, 127), ""); in lp_build_log2_approx()
3447 logexp = LLVMBuildSIToFP(builder, logexp, vec_type, ""); in lp_build_log2_approx()
3470 res = lp_build_mad(bld, y, p_z, logexp); in lp_build_log2_approx()
3502 *p_floor_log2 = logexp; in lp_build_log2_approx()