This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[JAVA] Add acos, asin, ceil and floor lang.Math builtins


Roger Sayle writes:
 > 
 > The following patch adds support for implementing the lang.Math functions
 > acos, asin, ceil and floor using GCC's mathematical builtins.  When using
 > -ffast-math this allows acos and asin to be expanded as x87 inline
 > intrinsics on IA-32, and for floor and ceil with constant arguments to
 > be constant folded at compile-time.
 > 
 > The following patch has been tested on i686-pc-linux-gnu with a full
 > bootstrap including java, and tested with a top-level "make -k check"
 > with no new failures.
 > 
 > Ok for mainline?

Looks good.   

Thanks,
Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]