pow: Use denormal path only
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 17 Apr 2018 19:35:28 +0000 (19:35 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 17 Apr 2018 19:35:28 +0000 (19:35 +0000)
commit0d92f3047f2bafc60f0d48fcb6e2e5197c97318d
treee57a01ee758ef3ee584998aecdd1c03823dcb413
parente56a2fc5e7ee74320eb0d218b0ba5c703696a80b
pow: Use denormal path only

It's OK to either flush to 0 or return denormal result if the device
does not support denormals. See sec 7.2 and 7.5.3 of OCL specs
Fixes CTS on carrizo and turks.
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewer: Aaron Watry <awatry@gmail.com>

llvm-svn: 330205
libclc/generic/lib/math/clc_pow.cl