Use -fno-builtin for sqrt benchmark.
commit7a8330c01bea0cb98654ca25e3ca5db7d48694b3
authorJoseph Myers <joseph@codesourcery.com>
Fri, 21 Oct 2016 21:18:03 +0000 (21 21:18 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 21 Oct 2016 21:18:03 +0000 (21 21:18 +0000)
tree1f5faab0b7c137b096e7b83bd1afa842a3938039
parent84d74e427a771906830800e574a72f8d25a954b8
Use -fno-builtin for sqrt benchmark.

This patch makes the sqrt benchmark use -fno-builtin, as already done
for benchmarks of ffs and ffsll, so that it actually benchmarks the
glibc function as (presumably) intended even in the presence of the
compiler inlining sqrt.

Tested for x86_64 and also used for benchmarking my ARM sqrt patch.

* benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
ChangeLog
benchtests/Makefile