mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 00:01:12 +00: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
@ -34,6 +34,12 @@ CFLAGS-s_modff-power5+.c = -mcpu=power5+
|
|||||||
CFLAGS-s_logbl-power7.c = -mcpu=power7
|
CFLAGS-s_logbl-power7.c = -mcpu=power7
|
||||||
CFLAGS-s_logb-power7.c = -mcpu=power7
|
CFLAGS-s_logb-power7.c = -mcpu=power7
|
||||||
CFLAGS-s_logbf-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
|
# These files quiet sNaNs in a way that is optimized away without
|
||||||
# -fsignaling-nans.
|
# -fsignaling-nans.
|
||||||
|
Loading…
Reference in New Issue
Block a user