Implement half_sqrt builtin v2
authorTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 17:01:37 +0000 (17:01 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 17:01:37 +0000 (17:01 +0000)
commitd2a15598461db035f940db17d2389731d101c65f
treeab4baf6ee4aefe9e1aef799331a108373d79cb1d
parent551a669e8050470b70798474e1829e8b2edb9185
Implement half_sqrt builtin v2

This is a generic implementation which just calls sqrt.  Targets should
override this if they want a faster implementation.

v2:
  - Alphabetize SOURCES

llvm-svn: 232965
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/math/half_sqrt.h [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/math/half_sqrt.cl [new file with mode: 0644]
libclc/generic/lib/math/half_sqrt.inc [new file with mode: 0644]