提交 57647a4d 编写于 作者: B Benjamin Herrenschmidt 提交者: 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: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册