math: Add ldexp implementation
authorTom Stellard <thomas.stellard@amd.com>
Wed, 6 May 2015 20:53:32 +0000 (20:53 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 6 May 2015 20:53:32 +0000 (20:53 +0000)
commit2ca909d824a1a86437d081552e4cbe28ba79ff37
tree636e46dd28532f6b8a0f23d4984b748404573b71
parentf30d5fc01deaa3f1b2e5447a3aa0daeaac5be93e
math: Add ldexp implementation

Signed-off-by: Aaron Watry <awatry@gmail.com>
Tom Stellard:
  - Add denormal handling.
  - Share vectorization code with r600 implementation.

Patch By: Aaron Watry

llvm-svn: 236639
libclc/generic/lib/SOURCES
libclc/generic/lib/clcmacro.h
libclc/generic/lib/math/ldexp.cl [new file with mode: 0644]
libclc/generic/lib/math/ldexp.inc [moved from libclc/r600/lib/math/ldexp.inc with 100% similarity]
libclc/r600/lib/math/ldexp.cl