ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure.ac
(Generate patch)

Comparing BasiliskII/src/Unix/configure.ac (file contents):
Revision 1.12 by gbeauche, 2002-11-05T10:32:42Z vs.
Revision 1.13 by gbeauche, 2002-11-05T11:58:40Z

# Line 69 | Line 69 | HAVE_I386=no
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.
# Line 827 | Line 829 | if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines