[Mesa-dev] PowerPC: Add Altivec vector add/sub intrisics

Roland Scheidegger sroland at vmware.com
Mon Nov 5 12:20:51 PST 2012


Am 05.11.2012 19:06, schrieb Adhemerval Zanella:
> 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.
This part looks good though I think it should be a separate patch.

The other part looks good too.

Roland



More information about the mesa-dev mailing list