* [PATCH] powerpc: Avoid -maltivec when using clang integrated assembler
@ 2015-11-25 23:45 Anton Blanchard
2016-07-05 14:10 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2015-11-25 23:45 UTC (permalink / raw)
To: benh, paulus, mpe; +Cc: linuxppc-dev
Check the assembler supports -maltivec by wrapping it with
call as-option.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
arch/powerpc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 96efd82..76a315d 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -206,7 +206,7 @@ KBUILD_CFLAGS += -mno-sched-epilog
endif
cpu-as-$(CONFIG_4xx) += -Wa,-m405
-cpu-as-$(CONFIG_ALTIVEC) += -Wa,-maltivec
+cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec)
cpu-as-$(CONFIG_E200) += -Wa,-me200
KBUILD_AFLAGS += $(cpu-as-y)
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: powerpc: Avoid -maltivec when using clang integrated assembler
2015-11-25 23:45 [PATCH] powerpc: Avoid -maltivec when using clang integrated assembler Anton Blanchard
@ 2016-07-05 14:10 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2016-07-05 14:10 UTC (permalink / raw)
To: Anton Blanchard, benh, paulus; +Cc: linuxppc-dev
On Wed, 2015-25-11 at 23:45:49 UTC, Anton Blanchard wrote:
> Check the assembler supports -maltivec by wrapping it with
> call as-option.
>
> Signed-off-by: Anton Blanchard <anton@samba.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9ddf0075f9184f1e1dabf7bfea
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-05 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 23:45 [PATCH] powerpc: Avoid -maltivec when using clang integrated assembler Anton Blanchard
2016-07-05 14:10 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).