summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2014-09-10 15:43:32 +0000
committerAaron Watry <awatry@gmail.com>2014-09-10 15:43:32 +0000
commit951ab64d19f275445b18ac6751e8f64f63866f82 (patch)
treefd4e44bdf4906164ff74a713927f1a8570577ffb /llvm/lib/Transforms
parent268beab921232abb652b18eea3aef021dc29a518 (diff)
downloadbcm5719-llvm-951ab64d19f275445b18ac6751e8f64f63866f82.tar.gz
bcm5719-llvm-951ab64d19f275445b18ac6751e8f64f63866f82.zip
math: Add asin implementation
asin(x) = atan2(x, sqrt( 1-x^2 )) alternatively: asin(x) = PI/2 - acos(x) Use the atan2 implementation since it produces slightly shorter bitcode and R600 machine code. Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 217510
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud