Commit:     57647a4dada06bb4d4056e57b4dcb79c4c8bb191
Parent:     f13659e0b3907548402ce1f47bf866544b804260
Author:     Benjamin Herrenschmidt <[EMAIL PROTECTED]>
AuthorDate: Thu Mar 22 17:23:44 2007 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 21:13:35 2007 +1000

    [POWERPC] Always use -mno-string
    The string load/store instructions are unimplemented on some processors
    and slow (microcoded) on some others.  It's simplest to just not use
    them at all.
    Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index e6c3add..26788de 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -102,9 +102,9 @@ CFLAGS += $(call cc-option,-mno-altivec)
 # kernel considerably.
 CFLAGS += $(call cc-option,-funit-at-a-time)
-CFLAGS         += -mstring
+# Never use string load/store instructions as they are
+# often slow when they are implemented at all
+CFLAGS         += -mno-string
 ifeq ($(CONFIG_6xx),y)
 CFLAGS         += -mcpu=powerpc
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to