eng-media.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* engine configuration for sh64 */
  2. /* WITH_FAST: non-zero if a fast version of the engine is available
  3. in addition to the full-featured version. */
  4. #define WITH_FAST 1
  5. /* WITH_SCACHE_PBB_SH64_MEDIA: non-zero if the pbb engine was selected. */
  6. #define WITH_SCACHE_PBB_SH64_MEDIA 1
  7. /* HAVE_PARALLEL_INSNS: non-zero if cpu can parallelly execute > 1 insn. */
  8. #define HAVE_PARALLEL_INSNS 0
  9. #define WITH_PARALLEL_READ 0
  10. #define WITH_PARALLEL_WRITE 0
  11. #define WITH_PARALLEL_GENWRITE 0
  12. /* WITH_SEM_SWITCH_FULL: non-zero if full-featured engine is
  13. implemented as a switch(). */
  14. #define WITH_SEM_SWITCH_FULL 0
  15. /* WITH_SEM_SWITCH_FAST: non-zero if fast engine is
  16. implemented as a switch(). */
  17. #define WITH_SEM_SWITCH_FAST 1
  18. /* Functions defined in the generated mainloop.c file
  19. (which doesn't necessarily have that file name). */
  20. extern ENGINE_FN sh64_media_engine_run_full;
  21. extern ENGINE_FN sh64_media_engine_run_fast;
  22. extern SEM_PC sh64_media_pbb_begin (SIM_CPU *, int);
  23. extern SEM_PC sh64_media_pbb_chain (SIM_CPU *, SEM_ARG);
  24. extern SEM_PC sh64_media_pbb_cti_chain (SIM_CPU *, SEM_ARG, SEM_BRANCH_TYPE, PCADDR);
  25. extern void sh64_media_pbb_before (SIM_CPU *, SCACHE *);
  26. extern void sh64_media_pbb_after (SIM_CPU *, SCACHE *);