aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/sem-switch.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2000-10-06 16:59:56 +0000
committerDave Brolley <brolley@redhat.com>2000-10-06 16:59:56 +0000
commitfb27a91c6ce3ad4153ab103d2dfbb54b704922a2 (patch)
treee1d5ecd13804a5f5150e0e47273b7ff810fa2cb5 /sim/m32r/sem-switch.c
parentce852dd37cf1733f3d2f725042997d6bd4847b9a (diff)
downloadgdb-fb27a91c6ce3ad4153ab103d2dfbb54b704922a2.zip
gdb-fb27a91c6ce3ad4153ab103d2dfbb54b704922a2.tar.gz
gdb-fb27a91c6ce3ad4153ab103d2dfbb54b704922a2.tar.bz2
2000-10-06 Dave Brolley <brolley@redhat.com>
* sem.c: Regenerated. * sem-switch.c: Regenerated. * semx-switch.c: Regenerated.
Diffstat (limited to 'sim/m32r/sem-switch.c')
-rw-r--r--sim/m32r/sem-switch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/m32r/sem-switch.c b/sim/m32r/sem-switch.c
index 91baf26..94bb9a2 100644
--- a/sim/m32r/sem-switch.c
+++ b/sim/m32r/sem-switch.c
@@ -318,12 +318,16 @@ SWITCH (sem, SEM_ARGBUF (vpc) -> semantic.sem_case)
{
#if WITH_SCACHE_PBB_M32RBF
-#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 = m32rbf_pbb_begin (current_cpu, FAST_P);
#else
+#if 0 /* cgen engine can't handle dynamic fast/full switching yet. */
vpc = m32rbf_pbb_begin (current_cpu, STATE_RUN_FAST_P (CPU_STATE (current_cpu)));
+#else
+ vpc = m32rbf_pbb_begin (current_cpu, 0);
+#endif
#endif
#endif
}