820 |
|
CAN_JIT=no |
821 |
|
JITSRCS="compemu1.cpp compemu2.cpp compemu3.cpp compemu4.cpp compemu5.cpp compemu6.cpp compemu7.cpp compemu8.cpp" |
822 |
|
|
823 |
< |
if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" -a "x$OS_TYPE" != "xfreebsd" ]]; then |
823 |
> |
if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]]; then |
824 |
|
dnl i386 CPU |
825 |
|
DEFINES="$DEFINES -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(3)))\"" |
826 |
|
if [[ "x$HAVE_GAS" = "xyes" ]]; then |
827 |
|
ASM_OPTIMIZATIONS=i386 |
828 |
|
DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE" |
829 |
< |
CPUSRCS="cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s" |
830 |
< |
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" |
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 |
– |
CAN_JIT=yes |
832 |
|
elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xyes" ]]; then |
833 |
|
dnl SPARC CPU |
834 |
|
case "$target_os" in |
871 |
|
WANT_JIT_DEBUG=no |
872 |
|
fi |
873 |
|
fi |
874 |
+ |
|
875 |
+ |
dnl IEEE core is the only FPU emulator to use with the JIT compiler |
876 |
+ |
case $FPE_CORE_TEST_ORDER in |
877 |
+ |
ieee*) ;; |
878 |
+ |
*) AC_MSG_WARN([Forcing use of the IEEE FPU core, as the JIT compiler supports only this one.]) ;; |
879 |
+ |
esac |
880 |
+ |
FPE_CORE_TEST_ORDER="ieee" |
881 |
|
else |
882 |
|
WANT_JIT=no |
883 |
|
WANT_JIT_DEBUG=no |