|
Message
From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
Date: Thu Mar 24 21:10:53 CET 2005
Subject: [openrisc] [or1ksim #63] Change --enable-simple to
--enable-execution
Hi,Since we are soon going to get three execution modells that are mutually exclusive I have changed --enable-simple to --enable-execution to select which takes one parameter detailing which execution modell to use. In the hughediff this was name --enable-execute but I changed.
ChangeLog: * Change --enable-simple to --enable-execution to be able to select between more than two mutually exclusive execution models.
nog.
PS: Patch #64 is the acutual recompiler implementation. It will come as soon as the moderator clicks it through. -------------- next part -------------- diff -urp --unidirectional-new-file /home/nog/or1ksim-split/configure.in ./configure.in --- /home/nog/or1ksim-split/configure.in 2005-03-24 18:17:06.000000000 +0100 +++ ./configure.in 2005-03-21 18:40:30.000000000 +0100 @@ -106,17 +106,29 @@ AC_ARG_ENABLE(profiling, ]) AC_MSG_RESULT(${enable_profiling-no}) -simple_execution="0" +execution="1" + INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH" -AC_MSG_CHECKING(whether to use simple execution) -AC_ARG_ENABLE(simple, - [ --enable-simple compiles sim with simple execution], [ - case "$enableval" in - no) INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH" simple_execution="0" ;; - yes) INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH" simple_execution="1" ;; +AC_MSG_CHECKING(which execution style to use) +AC_ARG_ENABLE(execution, + [ --enable-execution Executeion style to use (simple/complex)], + [ + case "$enableval" in + simple) + INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH" + execution="0" + AC_MSG_RESULT(simple) + ;; + complex) + INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH" + execution="1" + AC_MSG_RESULT(complex) + ;; + *) + AC_MSG_ERROR("excecution must one of simple/complex") + ;; esac -]) -AC_MSG_RESULT(${enable_simple-no}) + ]) eth_phy="0" AC_MSG_CHECKING(whether to enable ethernet phy emulation) @@ -167,8 +179,9 @@ AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag) AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag) AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy) -AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $simple_execution) AM_CONDITIONAL(SIMPLE_EXECUTION, test x$simple_execution = x1) +AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $execution == 0) +AC_DEFINE_UNQUOTED(COMPLEX_EXECUTION, $execution == 1) AC_MSG_CHECKING(for implementation-specific data) diff -urp --unidirectional-new-file /home/nog/or1ksim-split/acconfig.h ./acconfig.h --- /home/nog/or1ksim-split/acconfig.h 2005-02-25 16:54:58.000000000 +0100 +++ ./acconfig.h 2005-02-23 18:41:39.000000000 +0100 @@ -15,6 +15,9 @@ /* Whether we are building with simple execution module */ #define SIMPLE_EXECUTION 0 +/* Whether we are building with complex execution module */ +#define COMPLEX_EXECUTION 0 + /* Specifies, whether we should do register accesses over time analysis. Simple execution must be enabled! */ #define RAW_RANGE_STATS 0
|
 |