[Mesa-dev] PowerPC: Add Altivec vector add/sub intrisics
Adhemerval Zanella
azanella at linux.vnet.ibm.com
Mon Nov 5 10:06:44 PST 2012
This patch add correct vector addition and subtraction intrisics when
using Altivec with PPC. Current code uses default path and LLVM backend
ends up issuing carry-out arithmetic instruction while it is expected
saturated ones.
It also includes a fix for PowerPC where char are unsigned by default,
resulting in bogus values for vector shifting.
The patch corrects the lp_test_blend testcase. Any tips, advices,
comments?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-PowerPC-Add-Altivec-vector-add-sub-intrisics.patch
Type: text/x-patch
Size: 4220 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121105/bb127cea/attachment.bin>
More information about the mesa-dev
mailing list