From fb27a91c6ce3ad4153ab103d2dfbb54b704922a2 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 6 Oct 2000 16:59:56 +0000 Subject: [PATCH] 2000-10-06 Dave Brolley * sem.c: Regenerated. * sem-switch.c: Regenerated. * semx-switch.c: Regenerated. --- sim/m32r/ChangeLog | 6 ++++++ sim/m32r/sem-switch.c | 6 +++++- sim/m32r/sem.c | 6 +++++- sim/m32r/semx-switch.c | 6 +++++- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index b4b7d42e23..7cc9491573 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,9 @@ +2000-10-06 Dave Brolley + + * sem.c: Regenerated. + * sem-switch.c: Regenerated. + * semx-switch.c: Regenerated. + 2000-08-28 Dave Brolley * Makefile.in: Use of @true confuses VPATH. Remove it. diff --git a/sim/m32r/sem-switch.c b/sim/m32r/sem-switch.c index 91baf265b1..94bb9a2a2a 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 } diff --git a/sim/m32r/sem.c b/sim/m32r/sem.c index 2ec1322c34..cea7b58f02 100644 --- a/sim/m32r/sem.c +++ b/sim/m32r/sem.c @@ -179,12 +179,16 @@ SEM_FN_NAME (m32rbf,x_begin) (SIM_CPU *current_cpu, SEM_ARG sem_arg) { #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 } diff --git a/sim/m32r/semx-switch.c b/sim/m32r/semx-switch.c index 92f4e86585..5f184c8a36 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 }