[PATCH] implement log10 and log2 functions as x87 builtins
Uros Bizjak
uros@kss-loka.si
Wed Feb 11 12:39:00 GMT 2004
Roger Sayle wrote:
>Please resubmit this patch once you've added and tested a testcase.
>
>
Attached to this message, please find updated patch and testcase for
log10 and log2 builtins.
BTW: I think that testing log10 and log2 functions with compile-time
constants is not necessary. In the
future, perhaps some -ffast-math optimization pass could replace
functions with constant arguments with
their calculated value.
Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: logN-x87.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040211/f2dc096b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: logN-x87-testsuite.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040211/f2dc096b/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: builtins-33.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040211/f2dc096b/attachment.c>
More information about the Gcc-patches
mailing list