For sim_fetch_register / sim_store_register: Add LENGTH parameter,
[external/binutils.git] / sim / m32r / tconfig.in
1 /* M32R target configuration file.  -*- C -*- */
2
3 /* Define this if the simulator can vary the size of memory.
4    See the xxx simulator for an example.
5    This enables the `-m size' option.
6    The memory size is stored in STATE_MEM_SIZE.  */
7 /* Not used for M32R since we use the memory module.  */
8 /* #define SIM_HAVE_MEM_SIZE */
9
10 /* For MSPR support.  FIXME: revisit.  */
11 #define WITH_DEVICES 1
12
13 /* The semantic code should probably always use a switch().
14    However, in case that's not possible in some circumstance, we allow
15    the target to choose.  Perhaps this can be autoconf'd on whether the
16    switch is too big?  I can't (yet) think of a reason for allowing the
17    user to choose, though the developer may certainly wish to.  */
18 #ifdef WANT_CPU_M32R
19 #define WITH_FAST 1
20 #define WITH_SEM_SWITCH_FULL 0
21 #define WITH_SEM_SWITCH_FAST 1
22 #endif
23
24 #ifdef WANT_CPU_M32RX
25 #define HAVE_PARALLEL_EXEC
26 #define WITH_FAST 0
27 #define WITH_SEM_SWITCH_FULL 1
28 #define WITH_SEM_SWITCH_FAST 0
29 /* The m32rx currently never uses the scache.  So hardcode this off.  */
30 #undef WITH_SCACHE
31 #define WITH_SCACHE 0
32 #endif
33
34 /* ??? Temporary hack until model support unified.  */
35 #define SIM_HAVE_MODEL