Line 103... |
Line 103... |
yes) profile="-pg -a" ;;
|
yes) profile="-pg -a" ;;
|
esac
|
esac
|
])
|
])
|
AC_MSG_RESULT(${enable_profiling-no})
|
AC_MSG_RESULT(${enable_profiling-no})
|
|
|
fast_sim="0"
|
|
AC_MSG_CHECKING(whether to compile fsim)
|
|
AC_ARG_ENABLE(fsim,
|
|
[ --enable-fsim compiles fsim, based on fast_config.c], [
|
|
case "$enableval" in
|
|
no) fast_sim="0" ;;
|
|
yes) fast_sim="1" ;;
|
|
esac
|
|
])
|
|
AC_MSG_RESULT(${enable_fsim-no})
|
|
|
|
simple_execution="0"
|
simple_execution="0"
|
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
|
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
|
AC_MSG_CHECKING(whether to use simple execution)
|
AC_MSG_CHECKING(whether to use simple execution)
|
AC_ARG_ENABLE(simple,
|
AC_ARG_ENABLE(simple,
|
[ --enable-simple compiles sim with simple execution], [
|
[ --enable-simple compiles sim with simple execution], [
|
Line 171... |
Line 160... |
yes) set_arith_flag="1" ;;
|
yes) set_arith_flag="1" ;;
|
esac
|
esac
|
])
|
])
|
AC_MSG_RESULT(${enable_arith_flag-no})
|
AC_MSG_RESULT(${enable_arith_flag-no})
|
|
|
AC_DEFINE_UNQUOTED(FAST_SIM, $fast_sim)
|
|
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats)
|
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats)
|
AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag)
|
AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag)
|
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
|
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
|
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy)
|
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy)
|
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $simple_execution)
|
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $simple_execution)
|