From ce852dd37cf1733f3d2f725042997d6bd4847b9a Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 6 Oct 2000 16:58:40 +0000 Subject: [PATCH] 2000-10-06 Dave Brolley * sem.c: Regenerated. * sem-switch.c: Regenerated. --- sim/fr30/ChangeLog | 5 +++++ sim/fr30/sem-switch.c | 6 +++++- sim/fr30/sem.c | 6 +++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/sim/fr30/ChangeLog b/sim/fr30/ChangeLog index 626c9690055..bf6452d545c 100644 --- a/sim/fr30/ChangeLog +++ b/sim/fr30/ChangeLog @@ -1,3 +1,8 @@ +2000-10-06 Dave Brolley + + * sem.c: Regenerated. + * sem-switch.c: Regenerated. + 2000-08-28 Dave Brolley * cpu.h: Regenerated. 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 } diff --git a/sim/fr30/sem.c b/sim/fr30/sem.c index 0d83f36aa5d..f3a749bd304 100644 --- a/sim/fr30/sem.c +++ b/sim/fr30/sem.c @@ -179,12 +179,16 @@ SEM_FN_NAME (fr30bf,x_begin) (SIM_CPU *current_cpu, SEM_ARG sem_arg) { #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 } -- 2.30.2