Mathinlines and GCC

Joseph S. Myers joseph@codesourcery.com
Wed May 2 19:30:00 GMT 2012


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



More information about the Libc-alpha mailing list