69 |
|
HAVE_M68K=no |
70 |
|
HAVE_SPARC=no |
71 |
|
HAVE_POWERPC=no |
72 |
+ |
HAVE_X86_64=no |
73 |
|
case "$target_cpu" in |
74 |
|
i386* | i486* | i586* | i686* | i786* ) HAVE_I386=yes;; |
75 |
|
m68k* ) HAVE_M68K=yes;; |
76 |
|
sparc* ) HAVE_SPARC=yes;; |
77 |
|
powerpc* ) HAVE_POWERPC=yes;; |
78 |
+ |
x86_64* ) HAVE_X86_64=yes;; |
79 |
|
esac |
80 |
|
|
81 |
|
dnl Checks for programs. |
829 |
|
JITSRCS="cpuemu1_nf.cpp cpuemu2_nf.cpp cpuemu3_nf.cpp cpuemu4_nf.cpp cpuemu5_nf.cpp cpuemu6_nf.cpp cpuemu7_nf.cpp cpuemu8_nf.cpp $JITSRCS" |
830 |
|
CAN_JIT=yes |
831 |
|
fi |
832 |
+ |
elif [[ "x$HAVE_GCC30" = "xyes" -a "x$HAVE_X86_64" = "xyes" ]]; then |
833 |
+ |
dnl x86-64 CPU |
834 |
+ |
DEFINES="$DEFINES -DUNALIGNED_PROFITABLE" |
835 |
+ |
if [[ "x$HAVE_GAS" = "xyes" ]]; then |
836 |
+ |
ASM_OPTIMIZATIONS="x86-64" |
837 |
+ |
DEFINES="$DEFINES -DX86_64_ASSEMBLY -DOPTIMIZED_FLAGS" |
838 |
+ |
fi |
839 |
|
elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xyes" ]]; then |
840 |
|
dnl SPARC CPU |
841 |
|
case "$target_os" in |