summaryrefslogtreecommitdiff
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
commit6fa49abb368dabb4c26b13d89a95ac76374d2786 (patch)
tree99f4a78dcd11e0189c433c4b7886fec281ce7207 /sim/fr30/sem-switch.c
parent885d8b16b32806c39c619f18b87a5fcadc9a2cb9 (diff)
downloadgdb-6fa49abb368dabb4c26b13d89a95ac76374d2786.tar.gz
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 f3477e5b8b1..d6340c0513c 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
}