Lines 19-25
Link Here
|
19 |
- pentium | pentium-mmx | pentiumpro | pentium[[234]] | \ |
19 |
- pentium | pentium-mmx | pentiumpro | pentium[[234]] | \ |
20 |
- athlon | athlon-tbird | athlon-4 | athlon-xp | athlon-mp) |
20 |
- athlon | athlon-tbird | athlon-4 | athlon-xp | athlon-mp) |
21 |
+ pentium | pentium-m | pentium-mmx | pentiumpro | pentium[[234]] | \ |
21 |
+ pentium | pentium-m | pentium-mmx | pentiumpro | pentium[[234]] | \ |
22 |
+ athlon | athlon-tbird | athlon-4 | athlon-xp | athlon-mp | athlon64 | k8) |
22 |
+ athlon | athlon-tbird | athlon-4 | athlon-xp | athlon-mp | athlon64* | k8) |
23 |
if test "$ac_with_cpu" != yes; then |
23 |
if test "$ac_with_cpu" != yes; then |
24 |
bc_target_cpu=$withval |
24 |
bc_target_cpu=$withval |
25 |
fi |
25 |
fi |
Lines 36-42
Link Here
|
36 |
m4 $srcdir/gas/mpopt.alpha.m4 > mpopt.s |
36 |
m4 $srcdir/gas/mpopt.alpha.m4 > mpopt.s |
37 |
]) |
37 |
]) |
38 |
;; |
38 |
;; |
39 |
+ x86_64 | athlon64 | athlon-fx | em64t | k8) |
39 |
+ x86_64 | athlon64* | athlon-fx | em64t | k8) |
40 |
+ AC_CONFIG_COMMANDS([mpopt.x86_64],[ |
40 |
+ AC_CONFIG_COMMANDS([mpopt.x86_64],[ |
41 |
+ m4 $srcdir/gas/mpopt.x86_64.m4 > mpopt.s |
41 |
+ m4 $srcdir/gas/mpopt.x86_64.m4 > mpopt.s |
42 |
+ ]) |
42 |
+ ]) |
Lines 57-63
Link Here
|
57 |
if test "$ac_with_arch" = yes; then |
57 |
if test "$ac_with_arch" = yes; then |
58 |
# Code is i586-specific! |
58 |
# Code is i586-specific! |
59 |
case $bc_target_arch in |
59 |
case $bc_target_arch in |
60 |
+ x86_64 | athlon64 | athlon-fx | em64t | k8) |
60 |
+ x86_64 | athlon64* | athlon-fx | em64t | k8) |
61 |
+ ;; |
61 |
+ ;; |
62 |
athlon* | i[[56]]86 | pentium*) |
62 |
athlon* | i[[56]]86 | pentium*) |
63 |
AC_CONFIG_COMMANDS([blowfishopt.i586],[ |
63 |
AC_CONFIG_COMMANDS([blowfishopt.i586],[ |
Lines 69-75
Link Here
|
69 |
arm*) |
69 |
arm*) |
70 |
CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM" |
70 |
CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM" |
71 |
;; |
71 |
;; |
72 |
+ x86_64 | athlon64 | athlon-fx | em64t | k8) |
72 |
+ x86_64 | athlon64* | athlon-fx | em64t | k8) |
73 |
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_X86_64" |
73 |
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_X86_64" |
74 |
+ ;; |
74 |
+ ;; |
75 |
athlon*) |
75 |
athlon*) |
Lines 128-134
Link Here
|
128 |
linux*) |
128 |
linux*) |
129 |
case $bc_target_arch in |
129 |
case $bc_target_arch in |
130 |
- powerpc64 | s390x | x86_64) |
130 |
- powerpc64 | s390x | x86_64) |
131 |
+ powerpc64 | s390x | x86_64 | athlon64 | athlon-fx | em64t | k8) |
131 |
+ powerpc64 | s390x | x86_64 | athlon64* | athlon-fx | em64t | k8) |
132 |
bc_libalt="64" |
132 |
bc_libalt="64" |
133 |
;; |
133 |
;; |
134 |
esac |
134 |
esac |
Lines 147-153
Link Here
|
147 |
+define(USE_SSE) |
147 |
+define(USE_SSE) |
148 |
+define(USE_SSE2) |
148 |
+define(USE_SSE2) |
149 |
+') |
149 |
+') |
150 |
+ifelse(ASM_ARCH,athlon64,` |
150 |
+ifelse(ASM_ARCH,athlon64*,` |
151 |
+undefine(`USE_MMX') |
151 |
+undefine(`USE_MMX') |
152 |
+') |
152 |
+') |
153 |
+ifelse(ASM_ARCH,x86_64,` |
153 |
+ifelse(ASM_ARCH,x86_64,` |