Commit 57647a4d authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Paul Mackerras

[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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent f13659e0
...@@ -102,9 +102,9 @@ CFLAGS += $(call cc-option,-mno-altivec) ...@@ -102,9 +102,9 @@ CFLAGS += $(call cc-option,-mno-altivec)
# kernel considerably. # kernel considerably.
CFLAGS += $(call cc-option,-funit-at-a-time) CFLAGS += $(call cc-option,-funit-at-a-time)
ifndef CONFIG_FSL_BOOKE # Never use string load/store instructions as they are
CFLAGS += -mstring # often slow when they are implemented at all
endif CFLAGS += -mno-string
ifeq ($(CONFIG_6xx),y) ifeq ($(CONFIG_6xx),y)
CFLAGS += -mcpu=powerpc CFLAGS += -mcpu=powerpc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment