libclc/r600: Use target specific builtins to implement rsqrt and native_rsqrt
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 5 Feb 2020 01:14:04 +0000 (20:14 -0500)
committerJan Vesely <jano.vesely@gmail.com>
Sun, 9 Feb 2020 19:42:15 +0000 (14:42 -0500)
commit85e2fa44c64e1edd2f675c990ecc60f5fadb4686
tree316a95b1192310809868e7f68f47f6a009de34aa
parent4b23a2e8e971876d075d3ae322754dbc0495413d
libclc/r600: Use target specific builtins to implement rsqrt and native_rsqrt

Fixes OCL CTS rsqrt and half_rsqrt (1 thread, scalaer) tests on AMD Turks.

Reviewer: awatry
Differential Revision: https://reviews.llvm.org/D74016
libclc/r600/lib/SOURCES
libclc/r600/lib/math/native_rsqrt.cl [new file with mode: 0644]
libclc/r600/lib/math/rsqrt.cl [new file with mode: 0644]