diff options
author | Uros Bizjak <uros@kss-loka.si> | 2004-04-20 21:40:31 +0200 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-04-20 19:40:31 +0000 |
commit | c56122d841f0a8f8941f435e9e0e98d3b04f937b (patch) | |
tree | b8cfb1f808f8cdf2784d4c395572ad76b0931623 /libjava/java/net | |
parent | 7b1521e0f4d857eb9e533c2ef3ba731e7d521fab (diff) | |
download | gcc-c56122d841f0a8f8941f435e9e0e98d3b04f937b.zip gcc-c56122d841f0a8f8941f435e9e0e98d3b04f937b.tar.gz gcc-c56122d841f0a8f8941f435e9e0e98d3b04f937b.tar.bz2 |
optabs.h (enum optab_index): Add new OTI_asin and OTI_acos.
2004-04-20 Uros Bizjak <uros@kss-loka.si>
* optabs.h (enum optab_index): Add new OTI_asin and OTI_acos.
(asin_optab, acos_optab): Define corresponding macros.
* optabs.c (init_optabs): Initialize asin_optab and acos_optab.
* genopinit.c (optabs): Implement asin_optab and acos_optab
using asin?f2 and acos?f2 patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_ASIN{,F,L}
using asin_optab, and BUILT_IN_ACOS{,F,L} using acos_optab.
(expand_builtin): Expand BUILT_IN_ASIN{,F,L} and BUILT_IN_ACOS{,F,L}
using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.
* config/i386/i386.md (asindf2, asinsf2, asinxf2, acosdf2,
acossf2, acosxf2): New expanders to implement asin, asinf, asinl,
acos, acosf and acosl built-ins as inline x87 intrinsics.
* gcc.dg/builtins-39.c: New test.
From-SVN: r80921
Diffstat (limited to 'libjava/java/net')
0 files changed, 0 insertions, 0 deletions