Message ID | 20120512.182057.119046891010844835.davem@davemloft.net |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
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 -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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
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(-)