This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: A GGC related question


fixing SMS,  do you mean that we only modify the SMS pass?
if so, the problem we have to solve:
   * how to make unroll and sms work together? calling unroll pass in sms,
but it would be needed more passes such as web, and it's perfect to rerun
all the passes between unroll and sms.
   * unroll and web pass exsit in gcc, however gcc's passes only work for a
compilation unit, function, rather than a smaller unit we expect, loop.
that's why we copy all global information, and rerun the passes between the
unroll and sms sevral times.
   * if we need try more unroll factors, copying is also needed. the backup
exsits in single pass, so it would not be purged by GGC. but, if memory
consuming is huge, is there any risk for the other passes? from my
experience, when disable GGC between unroll and sms, with  ggc_min_expand =
100 ggc_min_heap = 20480, and compile a big file, gcc crashes down. 
    
   That's what I can think of. you know, it's a very big and hard work. do
you have any suggestions about our current solution?

   thanks for your reply!
   danxiaoqiang



--
View this message in context: http://gcc.1065356.n5.nabble.com/A-GGC-related-question-tp988400p988645.html
Sent from the gcc - patches mailing list archive at Nabble.com.


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