sparc32: Pass -mcpu=v7 explicitly to gcc.
David Miller
maintainerPATCH 1/1 sparc32: Pass -mcpu=v7 explicitly to gcc.
We should be agnostic to what gcc happens to be generating by default.
Signed-off-by David S. Miller <[email protected]>
--- arch/sparc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/Makefile +1 -1
@@ -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
Signature · 1 line
1.7.10
Quoted 2 lines · David Miller
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
David Miller
maintainerFrom: Tom Callaway <[email protected]>
Date: Sat, 12 May 2012 20:27:45 -0400
Quoted 5 lines · David Miller
Quoted 2 lines
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.