| commit | 34f513df7c06ac786dc9389e80217f95677ea1d5 | [log] [tgz] |
|---|---|---|
| author | Tom Stellard <thomas.stellard@amd.com> | Wed Jun 26 18:21:49 2013 +0000 |
| committer | Tom Stellard <thomas.stellard@amd.com> | Wed Jun 26 18:21:49 2013 +0000 |
| tree | 7ee64e399afb235a8d83ec0b3b2c15ee31f678c0 | |
| parent | 075b31a2fa8b5405ce8c1afa736cd240016f1ec8 [diff] |
libclc: Add clamp(vec, scalar, scalar) and max(vec, scalar) For any GENTYPE that isn't scalar, we need to implement a mixed vector/scalar version of clamp/max. This depends on the min() patches I sent to the list a few minutes ago. Patch by: Aaron Watry llvm-svn: 185003