llvmpipe: use sse2 conv code for altivec
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 7 Jan 2016 17:50:12 +0000 (19:50 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 7 Jan 2016 20:07:02 +0000 (22:07 +0200)
commitf41b6cfb07ede2be053c57e38d4d6b9433f90bf1
tree3982968585c5c825aa68e7e3e7e4820b716deeb4
parentbca18057a359f98b5db0a6453abe4dc7dd70a31d
llvmpipe: use sse2 conv code for altivec

In lp_build_conv() and lp_build_conv_auto(), there is a special case of
conversion when sse2 is present. That code path is suitable without any
changes to altivec, because all the functions that are called in that
code path already support altivec.

This patch increase the FPS in POWER arch across the board
between 10%-25%

I checked ipers, glxgears, glxspheres64, openarena, xonotic and glmark2.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_conv.c