All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc.
@ 2012-05-12 22:20 David Miller
  2012-05-13  0:27 ` Tom Callaway
  2012-05-13  1:23 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: David Miller @ 2012-05-12 22:20 UTC (permalink / raw)
  To: sparclinux


We should be agnostic to what gcc happens to be generating by default.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 arch/sparc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index eddcfb3..cd2afcc 100644
--- a/arch/sparc/Makefile
+++ b/arch/sparc/Makefile
@@ -30,7 +30,7 @@ export BITS    := 32
 UTS_MACHINE    := sparc
 
 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7
-KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
+KBUILD_CFLAGS += -m32 -mcpu=v7 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
 KBUILD_AFLAGS += -m32 -Wa,-Av8
 
 #LDFLAGS_vmlinux = -N -Ttext 0xf0004000
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc.
  2012-05-12 22:20 [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc David Miller
@ 2012-05-13  0:27 ` Tom Callaway
  2012-05-13  1:23 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Callaway @ 2012-05-13  0:27 UTC (permalink / raw)
  To: sparclinux

On 05/12/2012 06:20 PM, David Miller wrote:
> 
> We should be agnostic to what gcc happens to be generating by default.

If you're dropping sun4c, why not -mcpu=v8?

~tom

=
Fedora Project

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc.
  2012-05-12 22:20 [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc David Miller
  2012-05-13  0:27 ` Tom Callaway
@ 2012-05-13  1:23 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2012-05-13  1:23 UTC (permalink / raw)
  To: sparclinux

From: Tom Callaway <tcallawa@redhat.com>
Date: Sat, 12 May 2012 20:27:45 -0400

> On 05/12/2012 06:20 PM, David Miller wrote:
>> 
>> We should be agnostic to what gcc happens to be generating by default.
> 
> If you're dropping sun4c, why not -mcpu=v8?

We cannot generate hardware multiply and divisde instructions until
we remove Cypress support.

Cypress is a sun4m chip but like sun4c it lacks HW integer multiply
and divide.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-13  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12 22:20 [PATCH] sparc32: Pass -mcpu=v7 explicitly to gcc David Miller
2012-05-13  0:27 ` Tom Callaway
2012-05-13  1:23 ` David Miller

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.