llvmpipe: Use lp_build_ifloor_fract for exp2 calculation.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 16 Oct 2011 00:42:57 +0000 (01:42 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 16 Oct 2011 13:18:41 +0000 (14:18 +0100)
commite9c1d87ce73eb3da829d5124cc5f4716d79e8973
tree966eafd2779237cc281d23d3bd8307838fb0770d
parent1350882e4950bc957e60e68a685b8fea08693e13
llvmpipe: Use lp_build_ifloor_fract for exp2 calculation.

Instead of separate ifloor / fract calls.

No change for SSE4.1 code, but less FP<->SI conversions on non SSE4.1
systems.
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/drivers/llvmpipe/lp_test_arit.c