This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Builtins that don't work
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Builtins that don't work
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 23 Jul 2001 19:28:55 +0200
- Cc: libstdc++ at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <817770000.995570919@warlock.codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
| PR 3474 is about a problem with __builtin_sqrtf on Solaris.
A patch for that problem was applied sometime ago. But I failed to
fix it for the long double versions. Patch coming soon.
| What should we do?
Recognize __builtin_xxx on all plateforms and fall back to "library
call" if a specific target don't have a builtins -- that beahviour is
consistent with current behaviour on some plateforms.
| The easy thing is to just autoconf V3 to define
| sqrtf in terms of sqrt if there is no sqrtf available; that's analagous
| to what we already to for `tan', for example.
V3 is already configured to provide sqrtf in terms of sqrt if no sqrtf
is available.
-- Gaby