mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
powerpc: Add missing arch flags on rounding ifunc variants
The ifunc variants now uses the powerpc implementation which in turn uses the compiler builtin. Without the proper -mcpu switch the builtin does not generate the expected optimization. Checked on powerpc-linux-gnu. Reviewed-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
This commit is contained in:
parent
c0d59e3e0d
commit
4dcd674b66
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ CFLAGS-s_modff-power5+.c = -mcpu=power5+
|
|||
CFLAGS-s_logbl-power7.c = -mcpu=power7
|
||||
CFLAGS-s_logb-power7.c = -mcpu=power7
|
||||
CFLAGS-s_logbf-power7.c = -mcpu=power7
|
||||
CFLAGS-s_round-power5+.c += -mcpu=power5+
|
||||
CFLAGS-s_roundf-power5+.c += -mcpu=power5+
|
||||
CFLAGS-s_floor-power5+.c += -mcpu=power5+
|
||||
CFLAGS-s_floorf-power5+.c += -mcpu=power5+
|
||||
CFLAGS-s_trunc-power5+.c += -mcpu=power5+
|
||||
CFLAGS-s_truncf-power5+.c += -mcpu=power5+
|
||||
|
||||
# These files quiet sNaNs in a way that is optimized away without
|
||||
# -fsignaling-nans.
|
||||
|
|
Loading…
Add table
Reference in a new issue