Re: [PATCH][RFC] Move TREE_VEC length and SSA_NAME version into tree_base

2012-08-21 Thread Jay Foad
On 21 August 2012 10:58, Richard Guenther wrote: > Index: trunk/gcc/tree.h > === > *** trunk.orig/gcc/tree.h 2012-08-20 12:47:47.0 +0200 > --- trunk/gcc/tree.h2012-08-21 10:32:47.717394657 +0200 > *** enu

Re: [PATCH][RFC] Move TREE_VEC length and SSA_NAME version into tree_base

2012-08-21 Thread Richard Guenther
On Mon, 20 Aug 2012, Richard Guenther wrote: > > This shrinks TREE_VEC from 40 bytes to 32 bytes and SSA_NAME from > 80 bytes to 72 bytes on a 64bit host. Both structures suffer > from the fact they need storage for an integer (length and version) > which leaves unused padding. Both data struct

[PATCH][RFC] Move TREE_VEC length and SSA_NAME version into tree_base

2012-08-20 Thread Richard Guenther
This shrinks TREE_VEC from 40 bytes to 32 bytes and SSA_NAME from 80 bytes to 72 bytes on a 64bit host. Both structures suffer from the fact they need storage for an integer (length and version) which leaves unused padding. Both data structures do not require as many flag bits as we keep in tree