summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-10-21 06:29:32 +0000
committerdas <das@FreeBSD.org>2011-10-21 06:29:32 +0000
commit3578083bd5e5c8cc7b2d82f501d5901051537ae4 (patch)
treee4935310dc992380b0af45c9fd0a57d6e8febb84 /contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
parentf66ae96060daab6b90cb9d24fa049e4c17f3b80f (diff)
downloadFreeBSD-src-3578083bd5e5c8cc7b2d82f501d5901051537ae4.zip
FreeBSD-src-3578083bd5e5c8cc7b2d82f501d5901051537ae4.tar.gz
Improved handling of large x in ccosh{,f}():
- Handle cases where exp(x) would overflow, but ccosh(x) ~= exp(x) / 2 shouldn't. - Use the ccosh(x) ~= exp(x) / 2 approximation to simplify the calculation when x is large. Similarly for csinh(). Also fixed the return value of csinh(-Inf +- 0i).
Diffstat (limited to 'contrib/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud