diff options
author | Aaron Watry <awatry@gmail.com> | 2013-07-19 16:44:37 +0000 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2013-07-19 16:44:37 +0000 |
commit | 1769b1fca9c38fd4bb0eae91effdbba89d626723 (patch) | |
tree | f543e1b6c68d6bc0b445f1978acbf20dd5496c4f /libclc/generic/lib/SOURCES | |
parent | dd170bd977b3e7aa730e6f247f000206e859d070 (diff) | |
download | bcm5719-llvm-1769b1fca9c38fd4bb0eae91effdbba89d626723.tar.gz bcm5719-llvm-1769b1fca9c38fd4bb0eae91effdbba89d626723.zip |
Implement generic upsample()
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
Diffstat (limited to 'libclc/generic/lib/SOURCES')
-rw-r--r-- | libclc/generic/lib/SOURCES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libclc/generic/lib/SOURCES b/libclc/generic/lib/SOURCES index 21a7eaab12c..9ac08bd9d24 100644 --- a/libclc/generic/lib/SOURCES +++ b/libclc/generic/lib/SOURCES @@ -17,6 +17,7 @@ integer/rotate.cl integer/sub_sat.cl integer/sub_sat_if.ll integer/sub_sat_impl.ll +integer/upsample.cl math/fmax.cl math/fmin.cl math/hypot.cl |