Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -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