This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Mathinlines and GCC
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sourceware dot org, rguenther at suse dot de, Uros Bizjak <ubizjak at gmail dot com>
- Date: Wed, 2 May 2012 19:29:50 +0000 (UTC)
- Subject: Re: Mathinlines and GCC
- References: <87ehr2o08q.fsf@linux-6dv9.site>
On Wed, 2 May 2012, Andreas Jaeger wrote:
> So, for me the questions is: Shouldn't we cleanup the mathinline headers
> and remove whatever functions a GCC of our choice (I would use the last
> released one - 4.7) can optimize? Most inlines are only for GCC and if
> GCC knows about it, it can do a better job.
Normally we condition inlines so that they are disabled for the particular
GCC versions that can do the optimization themselves. (But instead of
adding new ones we should certainly look to add GCC optimizations instead
in most cases.)
--
Joseph S. Myers
joseph@codesourcery.com