Lines 630-675
Link Here
|
630 |
dnl add x86 specific gcc CFLAGS |
630 |
dnl add x86 specific gcc CFLAGS |
631 |
CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions" |
631 |
CFLAGS="$CFLAGS -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions" |
632 |
|
632 |
|
633 |
DEBUG_CFLAGS="$DEBUG_CFLAGS -O3" |
|
|
634 |
|
635 |
if test x"$sarchopt" != "xno"; then |
636 |
[ |
637 |
archopt_val= |
638 |
|
639 |
case "$host_alias" in |
640 |
i386-*) # *BSD return this even on a P III #-)) |
641 |
archopt_val=i386 ;; |
642 |
i486-*) # oh dear! |
643 |
archopt_val=i486 ;; |
644 |
i586-*) |
645 |
archopt_val=pentium ;; |
646 |
i686-*) |
647 |
archopt_val=pentiumpro |
648 |
if test x"$check_athlon" = "xyes"; then |
649 |
if test -f /proc/cpuinfo; then |
650 |
modelname=`cat /proc/cpuinfo | grep "model\ name\ :" | sed -e 's/ //g' | cut -d':' -f2` |
651 |
case "$modelname" in |
652 |
*Athlon* | *Duron* | *K7*) |
653 |
archopt_val="$k7cpu" ;; |
654 |
esac |
655 |
fi |
656 |
fi |
657 |
;; |
658 |
k6-*) |
659 |
archopt_val=k6 ;; |
660 |
k7-*) |
661 |
archopt_val=k7 ;; |
662 |
athlon-*) |
663 |
archopt_val=athlon ;; |
664 |
esac |
665 |
|
666 |
if test x"$archopt_val" != x; then |
667 |
CFLAGS="$CFLAGS $sarchopt=$archopt_val" |
668 |
DEBUG_CFLAGS="$DEBUG_CFLAGS $sarchopt=$archopt_val" |
669 |
fi |
670 |
] |
671 |
fi |
672 |
|
673 |
dnl enable x86 specific parts of the code |
633 |
dnl enable x86 specific parts of the code |
674 |
dnl |
634 |
dnl |
675 |
dnl all of this stuff needs gcc/gas; it uses gnu c compiler extensions |
635 |
dnl all of this stuff needs gcc/gas; it uses gnu c compiler extensions |