This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Improve memory characteristics of VDEFs
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 21 Nov 2003 15:52:40 -0500
- Subject: Re: [tree-ssa] Improve memory characteristics of VDEFs
- Organization: Red Hat Canada
- References: <200311212023.hALKNZgU001123@speedy.slc.redhat.com>
On Fri, 2003-11-21 at 15:23, law@redhat.com wrote:
> This is quite a bit more efficient in terms of memory utilization and GC
> tracking and prodes a nice little speedup on PR8361, will a very small
> positive impact on the more general cc1 components test.
>
Cool.
> for (i = 0; i < VARRAY_ACTIVE_SIZE (vdefs) / 2; i++)
> {
> result = VARRAY_RESULT (vdefs, i);
> source = VARRAY_OP (vdefs, i);
> }
>
s/VARRAY_/VDEF_/, right?
Also, it'd be nice to have something like NUM_VDEFS() to encapsulate
'VARRAY_ACTIVE_SIZE (vdefs) / 2'.
Diego.