remainder: Port from amd builtins
authorJan Vesely <jan.vesely@rutgers.edu>
Mon, 19 Mar 2018 01:01:10 +0000 (01:01 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Mon, 19 Mar 2018 01:01:10 +0000 (01:01 +0000)
commit5b10494fa8a305370ba6bc150dba5038188bcf50
tree9a86e88463058ad97534407a7663503ca5f277a2
parent793733a6c832455c939667bf1845655fe1fc44b4
remainder: Port from amd builtins

Mostly ported from amd_builtins, uses only denormal path for fp32.
Passes CTS on carrizo and turks

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