Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=966d905634de4433cea465fdcea19503c4ae260f
Commit:     966d905634de4433cea465fdcea19503c4ae260f
Parent:     54cd6ddec77b75e6926d73d263aec72255b24030
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 14 00:58:44 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Feb 17 22:43:34 2008 -0800

    [SPARC64]: Add -mtune=ultrasparc3 if possible.
    
    This gives better heuristics for the cost of a multiply (fixed
    5 cycles), rather than the 'ultrasparc' setting (variable, and
    unpredictable if the second argument is non-constant).
    
    Example code size savings:
    
       text        data     bss     dec     hex filename
    3823690      304040  448880 4576610  45d562 vmlinux
    3824521      304040  448880 4577441  45d8a1 vmlinux.orig
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 arch/sparc64/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile
index 848e334..f0c22f8 100644
--- a/arch/sparc64/Makefile
+++ b/arch/sparc64/Makefile
@@ -17,6 +17,7 @@ LDFLAGS               := -m elf64_sparc
 KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \
        -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare \
        -Wa,--undeclared-regs
+KBUILD_CFLAGS += $(call cc-option,-mtune=ultrasparc3)
 KBUILD_AFLAGS += -m64 -mcpu=ultrasparc -Wa,--undeclared-regs
 
 ifeq ($(CONFIG_MCOUNT),y)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to