2000-10-06 Dave Brolley <brolley@redhat.com>
authorDave Brolley <brolley@redhat.com>
Fri, 6 Oct 2000 16:58:40 +0000 (16:58 +0000)
committerDave Brolley <brolley@redhat.com>
Fri, 6 Oct 2000 16:58:40 +0000 (16:58 +0000)
* sem.c: Regenerated.
* sem-switch.c: Regenerated.

sim/fr30/ChangeLog
sim/fr30/sem-switch.c
sim/fr30/sem.c

index 626c9690055229286ecafe339abffe3fe95ec44a..bf6452d545c9d65e58e6c24a3e96c001a534e1f9 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-06  Dave Brolley  <brolley@redhat.com>
+
+       * sem.c: Regenerated.
+       * sem-switch.c: Regenerated.
+
 2000-08-28  Dave Brolley  <brolley@redhat.com>
 
        * cpu.h: Regenerated.
index f3477e5b8b1f262ee7c684fb65b5d6ae8319ecfd..d6340c0513cdb1637aa9a9c50523a7b12b642d61 100644 (file)
@@ -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
   }
index 0d83f36aa5d0cc32e17c5f49084e3de583eee07e..f3a749bd3040b23bf4cc2eef829d4272d1c2f943 100644 (file)
@@ -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
   }