[PATCH] [PowerPC] Remove -ftree-loop-linear from Makefiles
Ryan S. Arnold
ryan.arnold@gmail.com
Fri May 18 13:02:00 GMT 2012
On Wed, May 16, 2012 at 8:19 AM, Tulio Magno Quites Machado Filho
<tuliom@linux.vnet.ibm.com> wrote:
> In the past the "-ftree-loop-linear" switch provided a
> measurable improvement in performance for certain functions. At
> some point it was assigned as the responsibility of Graphite in
> GCC. It has been found that even with Graphite enabled these
> flags no longer perform any appreciable improvement over the
> baseline.
>
> Graphite now has some open bugs which need to be fixed in order
> for it to provide measurable performance improvements but it
> lacks active development. As a result some compiler
> distributors may disable Graphite. If Graphite is disabled then
> building GLIBC will fail if the "-ftree-loop-linear" switch is used.
>
> This patch removes the use of "-ftree-loop-linear" as unnecessary.
>
> 2012-05-14 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>
> * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
> CFLAGS-memmove.c): remove -ftree-loop-linear.
> * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
> Likewise.
> * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
> CFLAGS-memmove.c): Likewise.
> * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
> Likewise.
> ---
> sysdeps/powerpc/powerpc32/power4/Makefile | 4 ++--
> sysdeps/powerpc/powerpc32/power4/fpu/Makefile | 2 +-
> sysdeps/powerpc/powerpc64/power4/Makefile | 4 ++--
> sysdeps/powerpc/powerpc64/power4/fpu/Makefile | 2 +-
> 4 files changed, 6 insertions(+), 6 deletions(-)
This patch looks good to me. I'm going to commit later today. Thanks Tulio.
Ryan S. Arnold
More information about the Libc-alpha
mailing list