This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: computed gotos and memory requirements.


Sorry, I forgot to mention that this was on a Pentium box.

Brad

> From lucier@math.purdue.edu  Thu Oct 28 16:14:31 1999
> I'm getting nowhere fast trying to reduce the amount of space that flow
> requires when there are several million edges in the flow graph due to
> several thousand computed gotos and > 1000 labels.
> 
> I thought I would try to finesse the issue by replacing the computed
> goto with a volatile asm that the flow analysis would just punt on.
> I tried the simple change:
> 
> diff gambit.h lib/
> 2800c2800
> <    goto *___host_label;\
> ---
> >    asm volatile ("jmp *%0" : : "r" (___host_label)); \
> 
> but that doesn't seem to work.  Can this work, either in this form or in
> a slightly changed form?
> 
> Brad
> 


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