This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Table-ize builtins
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: PATCH: Table-ize builtins
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sun, 27 May 2001 17:51:54 +0100 (BST)
- cc: Richard Henderson <rth at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, <gcc-patches at gcc dot gnu dot org>
On 27 May 2001, Gabriel Dos Reis wrote:
> Richard Henderson <rth@redhat.com> writes:
>
> | On Sat, May 26, 2001 at 02:22:53PM +0100, Joseph S. Myers wrote:
> | > The builtin __builtin_fsqrt corresponds to sqrt, not fsqrt
> | > (as documented in extend.texi - I don't know why it is called
> | > __builtin_fsqrt, though).
> |
> | We should probably change it, as it's confusing.
>
> Is a patch to that effect will be accepted for GCC-3.0?
> Changing it in GCC-3.1 will be an ABI breakage.
The builtin has existed under the name __builtin_fsqrt since GCC 2.1 (and
was in a #if 0 block under that name back at least to 1.35), but hasn't
been documented under that name until 3.0. If the builtin name is
changed, I think it ought to be done before 3.0.
--
Joseph S. Myers
jsm28@cam.ac.uk