This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CGEN: RFA: Fast vs Full with scache-pbb


Dave Brolley writes:
 > > It turns out that the call to <cpu>_pbb_begin in the generated
 > > <cpu>_sem_x_begin was passing STATE_RUN_FAST_P (CPU_STATE
 > > (current_cpu)) as the 'fast_p' argument. Now this flag will be 0
 > > if -t is specified and 1 otherwise. However the rest of the
 > > generated code (mloop.c, sem.c) is not set up for dynamic
 > > fast/full switching (although it looks like some work was done
 > > toward this goal in the past). As a result, only the 'sem_full'
 > > function in the idesc_table is initialized for my build. Passing
 > > fast_p==1 causes the semantic engine to attempt to use 'sem_fast'
 > > function which is not initialized.

What do you mean by "dynamic fast/full switching".

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]