This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A GGC related question
- From: dxq <ziyan01 at 163 dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Nov 2013 17:04:05 -0800 (PST)
- Subject: Re: A GGC related question
- Authentication-results: sourceware.org; auth=none
- References: <1385125683776-988400 dot post at n5 dot nabble dot com> <528F7DA1 dot 2000403 at redhat dot com>
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.