Patchwork [1/2] sparc32: Build kernel with -mcpu=v8

login
register
mail settings
Submitter David Miller
Date May 15, 2012, 6:37 p.m.
Message ID <20120515.143742.1000570384829862813.davem@davemloft.net>
Download mbox | patch
Permalink /patch/159409/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - May 15, 2012, 6:37 p.m.
With Cypress gone we can generate real hardware integer multiply
and divide instructions at will.

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

Patch

diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index 7e8040b..23f17d1 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 -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