This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- From: law at redhat dot com
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 18 Nov 2003 10:14:29 -0700
- Subject: Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- Reply-to: law at redhat dot com
In message <200311181801.50659.s.bosscher@student.tudelft.nl>, Steven Bosscher
writes:
>On Tuesday 18 November 2003 17:38, law@redhat.com wrote:
>> >I've attached a side-by-side comparison of tree allocations for tree-ssa
>> > vs. mainline (again without tree PRE). We allocate 236267452 bytes
>> > total for trees with tree-ssa, vs. 102906976 on mainline. About half of
>> > the difference
>> >
>> >is in the SSA specific nodes, so the rest probably comes from lowering.
>> >Considering that we gc_allocate 771097504 bytes total with tree-ssa, vs.
>> >441972664 on mainline, this leaves a difference of ~200MB unaccounted
>> > for. I
>> >
>> >wouldn't expect that to be in extra RTL objects...
>>
>> Well, we've clearly got a gazillion more MODIFY_EXPRs.
>>
>> >modify_expr 495487 17837532 1931 46344
>> >eq_expr 172928 6225408 1555 37320
>> >ne_expr 155772 5607792 2282 54768
>>
>> As I pointed out in a previous message, these things stick out like a
>> sore thumb.
>
>Yes, but I had already counted those, so while they stick out, they don't
>explain the 200MB.
Even so, they indicate some extreme sillyness.
Jeff