* [PATCH] Drop -funroll-loops for csum_partial_64.c
@ 2008-09-04 11:46 Andi Kleen
2008-09-04 15:51 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: Andi Kleen @ 2008-09-04 11:46 UTC (permalink / raw)
To: x86, linux-kernel
Drop -funroll-loops for csum_partial_64.c
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>
---
arch/x86/lib/Makefile | 3 ---
1 file changed, 3 deletions(-)
Index: linux-2.6.27-rc4-misc/arch/x86/lib/Makefile
===================================================================
--- linux-2.6.27-rc4-misc.orig/arch/x86/lib/Makefile
+++ linux-2.6.27-rc4-misc/arch/x86/lib/Makefile
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-04 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 11:46 [PATCH] Drop -funroll-loops for csum_partial_64.c Andi Kleen
2008-09-04 15:51 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox