summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/integer/upsample.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded semi-colonsAaron Watry2013-09-051-6/+6
| | | | | Reviewed-By: Aaron Watry <awatry@gmail.com> llvm-svn: 190059
* Implement generic upsample()Aaron Watry2013-07-191-0/+25
Reduces all vector upsamples down to its scalar components, so probably not the most efficient thing in the world, but it does what the spec says it needs to do. Another possible implementation would be to convert/cast everything as unsigned if necessary, upsample the input vectors, create the upsampled value, and then cast back to signed if required. Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard at amd.com> llvm-svn: 186691
OpenPOWER on IntegriCloud