* [RFC] arch/powerpc: Remove duplicate/redundant Altivec entries
@ 2010-09-07 18:56 Matthew McClintock
2010-09-08 1:59 ` Paul Mackerras
0 siblings, 1 reply; 3+ messages in thread
From: Matthew McClintock @ 2010-09-07 18:56 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Matthew McClintock
In lieu of having multiple similiar lines, we can just have one
generic cpu-as line for CONFIG_ALTIVEC
---
Was hoping to get comments about this change and if anyone sees any potential
problems?
arch/powerpc/Makefile | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index e07d499..4e88b42 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -131,8 +131,7 @@ KBUILD_CFLAGS += -mno-sched-epilog
endif
cpu-as-$(CONFIG_4xx) += -Wa,-m405
-cpu-as-$(CONFIG_6xx) += -Wa,-maltivec
-cpu-as-$(CONFIG_POWER4) += -Wa,-maltivec
+cpu-as-$(CONFIG_ALTIVEC) += -Wa,-maltivec
cpu-as-$(CONFIG_E500) += -Wa,-me500
cpu-as-$(CONFIG_E200) += -Wa,-me200
--
1.6.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC] arch/powerpc: Remove duplicate/redundant Altivec entries
2010-09-07 18:56 [RFC] arch/powerpc: Remove duplicate/redundant Altivec entries Matthew McClintock
@ 2010-09-08 1:59 ` Paul Mackerras
2010-10-07 5:31 ` Kumar Gala
0 siblings, 1 reply; 3+ messages in thread
From: Paul Mackerras @ 2010-09-08 1:59 UTC (permalink / raw)
To: Matthew McClintock; +Cc: linuxppc-dev
On Tue, Sep 07, 2010 at 01:56:55PM -0500, Matthew McClintock wrote:
> In lieu of having multiple similiar lines, we can just have one
> generic cpu-as line for CONFIG_ALTIVEC
>
> ---
> Was hoping to get comments about this change and if anyone sees any potential
> problems?
I have a memory that we can get some altivec instructions even with
CONFIG_ALTIVEC = n, though presumably they never get executed. We
would have to check that before applying your patch.
Paul.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC] arch/powerpc: Remove duplicate/redundant Altivec entries
2010-09-08 1:59 ` Paul Mackerras
@ 2010-10-07 5:31 ` Kumar Gala
0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2010-10-07 5:31 UTC (permalink / raw)
To: Paul Mackerras; +Cc: Matthew McClintock, linuxppc-dev
On Sep 7, 2010, at 8:59 PM, Paul Mackerras wrote:
> On Tue, Sep 07, 2010 at 01:56:55PM -0500, Matthew McClintock wrote:
>=20
>> In lieu of having multiple similiar lines, we can just have one
>> generic cpu-as line for CONFIG_ALTIVEC
>>=20
>> ---
>> Was hoping to get comments about this change and if anyone sees any =
potential
>> problems?
>=20
> I have a memory that we can get some altivec instructions even with
> CONFIG_ALTIVEC =3D n, though presumably they never get executed. We
> would have to check that before applying your patch.
How would we check that?
- k=
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-07 5:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 18:56 [RFC] arch/powerpc: Remove duplicate/redundant Altivec entries Matthew McClintock
2010-09-08 1:59 ` Paul Mackerras
2010-10-07 5:31 ` Kumar Gala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.