[PATCH v3 1/3] Cleanup __ieee754_sqrt(f/l)

Joseph Myers joseph@codesourcery.com
Wed Mar 14 17:44:00 GMT 2018


On Wed, 14 Mar 2018, Wilco Dijkstra wrote:

> Unfortunately it's not possible to define _ISOMAC since many tests 
> actually require internal headers, for example the string benchmarks 
> often need inhibit_loop_to_libcall which is defined only if _ISOMAC is 
> not defined.

At least some string tests do (string/test-string.h):

/* We are compiled under _ISOMAC, so libc-symbols.h does not do this
   for us.  */
#include "config.h"
#ifdef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
# define inhibit_loop_to_libcall \
    __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
#else
# define inhibit_loop_to_libcall
#endif

I'd expect string benchmarks to do similarly (possibly factoring this out 
to a separate header).  That's much better than building them without 
_ISOMAC and so getting *all* the internal header pieces.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list