Skip to contentSkip to conversation

sparc32: Build kernel with -mcpu=v8

PATCH In review David Miller 1 participant 1 message May 15, 2012 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/2 sparc32: Build kernel with -mcpu=v8

With Cypress gone we can generate real hardware integer multiply and divide instructions at will.

---
 arch/sparc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/Makefile +1 -1
index 7e8040b..23f17d1 100644
@@ -30,7 +30,7 @@ export BITS    := 32
 UTS_MACHINE    := sparc
 
 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7
-KBUILD_CFLAGS += -m32 -mcpu=v7 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
+KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
 KBUILD_AFLAGS += -m32 -Wa,-Av8
 
 else
Signature · 1 line
1.7.10