[SPARC64]: Add -mtune=ultrasparc3 if possible.
commit966d905634de4433cea465fdcea19503c4ae260f
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2008 08:58:44 +0000 (14 00:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2008 06:43:34 +0000 (17 22:43 -0800)
tree866315805e9a820fedc0904fde53069bdef8cf75
parent54cd6ddec77b75e6926d73d263aec72255b24030
[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 <davem@davemloft.net>
arch/sparc64/Makefile