![]() | |||||||||||||
Messages in this thread |
On Sat, Mar 27, 2004 at 02:24:59PM +0000, Jamie Lokier wrote: > GCC's manual claims that fsin, fcos and fsqrt instructions are only > used if the -funsafe-math-optimizations flag is also used, if the GCC > version is >= 2.6.1. However you may find that Glibc's <math.h> ends > up using those instructions when -ffast-math is used alone. Well, -ffast-math sets -funsafe-math-optimizations, unless you do -ffast-math -fno-unsafe-math-optimizations, so the difference is not that big. glibc math inlines will be eventually replaced by GCC builtins as soon as GCC is known to optimize at least as good as glibc's math inlines and so even that difference will cease to exist. Jakub - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:02 [from the cache] ©2003-2008 | |||||||||||||