remquo: Port from amd builtins
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 3 May 2018 05:44:26 +0000 (05:44 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 3 May 2018 05:44:26 +0000 (05:44 +0000)
commit8db45e4cf170cc6044a0afe7a0ed8876dcd9a863
tree592333152462121ee4c75f78335acc53a68368ed
parent6146eda75dbf8e734b02d02a7c4a62804e04293f
remquo: Port from amd builtins

double version passes on carrizo. float version fails on denormals.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewer: Aaron Watry <awatry@gmail.com>
llvm-svn: 331434
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/math/remquo.h [new file with mode: 0644]
libclc/generic/include/clc/math/remquo.inc [new file with mode: 0644]
libclc/generic/include/math/clc_remquo.h [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/math/clc_remquo.cl [new file with mode: 0644]
libclc/generic/lib/math/remquo.cl [new file with mode: 0644]
libclc/generic/lib/math/remquo.inc [new file with mode: 0644]