diff options
Diffstat (limited to 'sim/m32r/semx-switch.c')
-rw-r--r-- | sim/m32r/semx-switch.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/m32r/semx-switch.c b/sim/m32r/semx-switch.c index 92f4e86..5f184c8 100644 --- a/sim/m32r/semx-switch.c +++ b/sim/m32r/semx-switch.c @@ -490,12 +490,16 @@ SWITCH (sem, SEM_ARGBUF (vpc) -> semantic.sem_case) { #if WITH_SCACHE_PBB_M32RXF -#ifdef DEFINE_SWITCH +#if defined DEFINE_SWITCH || defined FAST_P /* In the switch case FAST_P is a constant, allowing several optimizations in any called inline functions. */ vpc = m32rxf_pbb_begin (current_cpu, FAST_P); #else +#if 0 /* cgen engine can't handle dynamic fast/full switching yet. */ vpc = m32rxf_pbb_begin (current_cpu, STATE_RUN_FAST_P (CPU_STATE (current_cpu))); +#else + vpc = m32rxf_pbb_begin (current_cpu, 0); +#endif #endif #endif } |