This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: CGEN: RFA: Fast vs Full with scache-pbb
Doug Evans wrote:
> Dave Brolley wrote:
> > My patch simply forces the call to <cpu>_pbb_begin to honour the
> > definition of FAST_P like the rest of sem.c does.
>
> There may still be a need for your patch, but maybe you could confirm
> you're building your simulator the way the m32r and fr30 sims are?
> I wonder if there's a target specific tweak that is the more
> appropriate fix.
Well, the fr30 and m32r both use '-mono -fast -pbb -switch
sem-switch' whereas I'm using '-mono -pbb'. Hence the lack of
'fast' semantic functions which led to the problem when the
generated 'sem.c' passed 'fast_p==1' to <arch>_pbb_begin.
I think my patch is still necessary since the rest of sem.c
honours the definition of the FAST_P macro and assumes that no
definition means (! FAST_P).
Dave