Line 103... |
Line 103... |
yes) fast_sim="1" ;;
|
yes) fast_sim="1" ;;
|
esac
|
esac
|
])
|
])
|
AC_MSG_RESULT(${enable_fsim-no})
|
AC_MSG_RESULT(${enable_fsim-no})
|
|
|
AC_DEFINE_UNQUOTED(FAST_SIM, $fast_sim)
|
|
|
|
simple_execution="0"
|
simple_execution="0"
|
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], [
|
case "$enableval" in
|
case "$enableval" in
|
Line 116... |
Line 114... |
yes) simple_execution="1" ;;
|
yes) simple_execution="1" ;;
|
esac
|
esac
|
])
|
])
|
AC_MSG_RESULT(${enable_simple-no})
|
AC_MSG_RESULT(${enable_simple-no})
|
|
|
|
raw_range_stats="0"
|
|
AC_MSG_CHECKING(whether to use raw range stats)
|
|
AC_ARG_ENABLE(range_stats,
|
|
[ --enable-range-stats Specifies, whether we should do register accesses over time analysis.], [
|
|
case "$enableval" in
|
|
no) raw_range_stats="0" ;;
|
|
yes) raw_range_stats="1" simple_execution="1" ;;
|
|
esac
|
|
])
|
|
AC_MSG_RESULT(${enable_range_stats-no})
|
|
|
|
set_ov_flag="1"
|
|
AC_MSG_CHECKING(whether instructions set overflow flag)
|
|
AC_ARG_ENABLE(ov_flag,
|
|
[ --enable-ov-flag Whether instructions set overflow flag.], [
|
|
case "$enableval" in
|
|
no) set_ov_flag="0" ;;
|
|
yes) set_ov_flag="1" ;;
|
|
esac
|
|
])
|
|
AC_MSG_RESULT(${enable_ov_flag-no})
|
|
|
|
set_arith_flag="1"
|
|
AC_MSG_CHECKING(whether arithmethic instructions set flag)
|
|
AC_ARG_ENABLE(arith_flag,
|
|
[ --enable-arith-flag Whether arithmethic instructions setflag.], [
|
|
case "$enableval" in
|
|
no) set_arith_flag="0" ;;
|
|
yes) set_arith_flag="1" ;;
|
|
esac
|
|
])
|
|
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(SET_OV_FLAG, $set_ov_flag)
|
|
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
|
|
|
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $simple_execution)
|
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $simple_execution)
|
AM_CONDITIONAL(SIMPLE_EXECUTION, test x$simple_execution = x1)
|
AM_CONDITIONAL(SIMPLE_EXECUTION, test x$simple_execution = x1)
|
|
|
|
|
AC_MSG_CHECKING(for implementation-specific data)
|
AC_MSG_CHECKING(for implementation-specific data)
|
AC_ARG_ENABLE(impl,
|
AC_ARG_ENABLE(impl,
|
[ --enable-impl= use -specific environment
|
[ --enable-impl= use -specific environment
|
(one of: bender, mp3, default)], [
|
(one of: bender, mp3, default)], [
|
case "$enableval" in
|
case "$enableval" in
|