aboutsummaryrefslogtreecommitdiff
path: root/sim/fr30/sem-switch.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2000-10-06 16:58:40 +0000
committerDave Brolley <brolley@redhat.com>2000-10-06 16:58:40 +0000
commitce852dd37cf1733f3d2f725042997d6bd4847b9a (patch)
tree1b35024df373b41871dc8b98e6b51be29b750933 /sim/fr30/sem-switch.c
parentf40c3ea3c764aa18b195a3806f30a476dffcffc7 (diff)
downloadgdb-ce852dd37cf1733f3d2f725042997d6bd4847b9a.zip
gdb-ce852dd37cf1733f3d2f725042997d6bd4847b9a.tar.gz
gdb-ce852dd37cf1733f3d2f725042997d6bd4847b9a.tar.bz2
2000-10-06 Dave Brolley <brolley@redhat.com>
* sem.c: Regenerated. * sem-switch.c: Regenerated.
Diffstat (limited to 'sim/fr30/sem-switch.c')
-rw-r--r--sim/fr30/sem-switch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/fr30/sem-switch.c b/sim/fr30/sem-switch.c
index f3477e5..d6340c0 100644
--- a/sim/fr30/sem-switch.c
+++ b/sim/fr30/sem-switch.c
@@ -384,12 +384,16 @@ SWITCH (sem, SEM_ARGBUF (vpc) -> semantic.sem_case)
{
#if WITH_SCACHE_PBB_FR30BF
-#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 = fr30bf_pbb_begin (current_cpu, FAST_P);
#else
+#if 0 /* cgen engine can't handle dynamic fast/full switching yet. */
vpc = fr30bf_pbb_begin (current_cpu, STATE_RUN_FAST_P (CPU_STATE (current_cpu)));
+#else
+ vpc = fr30bf_pbb_begin (current_cpu, 0);
+#endif
#endif
#endif
}