summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/integer/hadd.cl
Commit message (Collapse)AuthorAgeFilesLines
* Add hadd builtinAaron Watry2013-08-151-0/+4
(x + y) >> 1 gets changed to: (x>>1) + (y>>1) + (x&y&1) Saves us having to do any llvm assembly and overflow checking in the addition. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 188476
OpenPOWER on IntegriCloud