]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: drop -funroll-loops for csum_partial_64.c
authorAndi Kleen <andi@firstfloor.org>
Thu, 4 Sep 2008 11:46:11 +0000 (13:46 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 4 Sep 2008 15:42:06 +0000 (08:42 -0700)
Impact: performance optimization

I did some rebenchmarking with modern compilers and dropping
-funroll-loops makes the function consistently go faster by a few
percent.  So drop that flag.

Thanks to Richard Guenther for a hint.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/lib/Makefile

index aa3fa4119424205ba297e1af4ce4100ba5514baf..55e11aa6d66cc51a75a7d6b04b3e921abf0a56ae 100644 (file)
@@ -17,9 +17,6 @@ ifeq ($(CONFIG_X86_32),y)
         lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
 else
         obj-y += io_64.o iomap_copy_64.o
-
-        CFLAGS_csum-partial_64.o := -funroll-loops
-
         lib-y += csum-partial_64.o csum-copy_64.o csum-wrappers_64.o
         lib-y += thunk_64.o clear_page_64.o copy_page_64.o
         lib-y += memmove_64.o memset_64.o