]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/sh64/eng-media.h
sim: clean up stale AC_PREREQ refs
[thirdparty/binutils-gdb.git] / sim / sh64 / eng-media.h
CommitLineData
cbb38b47
BE
1/* engine configuration for sh64 */
2
3/* WITH_FAST: non-zero if a fast version of the engine is available
4 in addition to the full-featured version. */
5#define WITH_FAST 1
6
7/* WITH_SCACHE_PBB_SH64_MEDIA: non-zero if the pbb engine was selected. */
8#define WITH_SCACHE_PBB_SH64_MEDIA 1
9
10/* HAVE_PARALLEL_INSNS: non-zero if cpu can parallelly execute > 1 insn. */
11#define HAVE_PARALLEL_INSNS 0
12#define WITH_PARALLEL_READ 0
13#define WITH_PARALLEL_WRITE 0
14#define WITH_PARALLEL_GENWRITE 0
15
16/* WITH_SEM_SWITCH_FULL: non-zero if full-featured engine is
17 implemented as a switch(). */
18#define WITH_SEM_SWITCH_FULL 0
19
20/* WITH_SEM_SWITCH_FAST: non-zero if fast engine is
21 implemented as a switch(). */
22#define WITH_SEM_SWITCH_FAST 1
23
24/* Functions defined in the generated mainloop.c file
25 (which doesn't necessarily have that file name). */
26
27extern ENGINE_FN sh64_media_engine_run_full;
28extern ENGINE_FN sh64_media_engine_run_fast;
29
30extern SEM_PC sh64_media_pbb_begin (SIM_CPU *, int);
31extern SEM_PC sh64_media_pbb_chain (SIM_CPU *, SEM_ARG);
32extern SEM_PC sh64_media_pbb_cti_chain (SIM_CPU *, SEM_ARG, SEM_BRANCH_TYPE, PCADDR);
33extern void sh64_media_pbb_before (SIM_CPU *, SCACHE *);
34extern void sh64_media_pbb_after (SIM_CPU *, SCACHE *);