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.6 by gbeauche, 2002-09-18T10:25:05Z vs.
Revision 1.12 by gbeauche, 2002-11-05T10:32:42Z

# Line 70 | Line 70 | HAVE_M68K=no
70   HAVE_SPARC=no
71   HAVE_POWERPC=no
72   case "$target_cpu" in
73 <  i386* | i486* | i586* | i686* | i786* ) CPU_TYPE=i386 HAVE_I386=yes;;
74 <  m68k* ) CPU_TYPE=m68k HAVE_M68K=yes;;
75 <  sparc* ) CPU_TYPE=sparc HAVE_SPARC=yes;;
76 <  powerpc* ) CPU_TYPE=powerpc HAVE_POWERPC=yes;;
77 <  *) CPU_TYPE=`echo $target_cpu | sed -e 's/-/_/g'`;;
73 >  i386* | i486* | i586* | i686* | i786* ) HAVE_I386=yes;;
74 >  m68k* ) HAVE_M68K=yes;;
75 >  sparc* ) HAVE_SPARC=yes;;
76 >  powerpc* ) HAVE_POWERPC=yes;;
77   esac
79 DEFINES="$DEFINES -DCPU_$CPU_TYPE"
78  
79   dnl Checks for programs.
80   AC_PROG_CC
# Line 820 | Line 818 | dnl Other platforms should define their
818   CAN_JIT=no
819   JITSRCS="compemu1.cpp compemu2.cpp compemu3.cpp compemu4.cpp compemu5.cpp compemu6.cpp compemu7.cpp compemu8.cpp"
820  
821 < if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" -a "x$OS_TYPE" != "xfreebsd" ]]; then
821 > if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]]; then
822    dnl i386 CPU
823 <  DEFINES="$DEFINES -DSAHF_SETO_PROFITABLE -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(3)))\""
823 >  DEFINES="$DEFINES -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(3)))\""
824    if [[ "x$HAVE_GAS" = "xyes" ]]; then
825      ASM_OPTIMIZATIONS=i386
826 <    DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTIMIZED_FLAGS"
827 <    CPUSRCS="cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
828 <    JITSRCS="cpufast1_nf.s cpufast2_nf.s cpufast3_nf.s cpufast4_nf.s cpufast5_nf.s cpufast6_nf.s cpufast7_nf.s cpufast8_nf.s $JITSRCS"
826 >    DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE"
827 >    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"
828 >    CAN_JIT=yes
829    fi
832  CAN_JIT=yes
830   elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xyes" ]]; then
831    dnl SPARC CPU
832    case "$target_os" in
# Line 872 | Line 869 | if [[ "x$WANT_JIT" = "xyes" -a "x$CAN_JI
869        WANT_JIT_DEBUG=no
870      fi
871    fi
872 +
873 +  dnl IEEE core is the only FPU emulator to use with the JIT compiler
874 +  case $FPE_CORE_TEST_ORDER in
875 +  ieee*) ;;
876 +  *) AC_MSG_WARN([Forcing use of the IEEE FPU core, as the JIT compiler supports only this one.]) ;;
877 +  esac
878 +  FPE_CORE_TEST_ORDER="ieee"
879   else
880    WANT_JIT=no
881    WANT_JIT_DEBUG=no

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines