benchtests: Build ffs and ffsl benchtests with -fno-builtin
Without this flag it is possible that the compiler will optimize away the calls to ffs/ffsll. ChangeLog: 2014-04-01 Will Newton <will.newton@linaro.org> * benchtests/Makefile (CFLAGS-bench-ffs.c): Add -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
This commit is contained in:
parent
13f7fe35ae
commit
f6c557968c
@ -1,3 +1,8 @@
|
||||
2014-04-01 Will Newton <will.newton@linaro.org>
|
||||
|
||||
* benchtests/Makefile (CFLAGS-bench-ffs.c): Add
|
||||
-fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
|
||||
|
||||
2014-04-01 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
[BZ #13347]
|
||||
|
@ -37,6 +37,9 @@ stdlib-bench := strtod
|
||||
|
||||
benchset := $(string-bench-all) $(stdlib-bench)
|
||||
|
||||
CFLAGS-bench-ffs.c += -fno-builtin
|
||||
CFLAGS-bench-ffsll.c += -fno-builtin
|
||||
|
||||
LDLIBS-bench-acos = -lm
|
||||
LDLIBS-bench-acosh = -lm
|
||||
LDLIBS-bench-asin = -lm
|
||||
|
Loading…
x
Reference in New Issue
Block a user