powr: Port from amd_builtins
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 17 Jan 2018 21:22:06 +0000 (21:22 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Wed, 17 Jan 2018 21:22:06 +0000 (21:22 +0000)
commitc45ec604f593fcb03d770f4398142d2446017f68
treed4b757e80af9be4d3f95e5dbc07c81e38d41ebfe
parent5efc8fe321d04a8645d2d6beb904f9eed0b94c98
powr: Port from amd_builtins

Passes piglit on turks and carrizo
fp64 passes cts on carrizo

v2: fix formatting
    check fp32 denormal support at runtime

Reviewer: Jeroen Ketema <j.ketema@xs4all.nl>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 322762
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/math/powr.h [new file with mode: 0644]
libclc/generic/include/math/clc_powr.h [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/math/clc_powr.cl [new file with mode: 0644]
libclc/generic/lib/math/powr.cl [new file with mode: 0644]