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: [PATCH] fix arm neon ICE by widening tree_type's precision field


On Mon, Jun 08, 2009 at 08:04:34PM +0200, Paolo Bonzini wrote:
> >The fix is to widen the 'precision' field of tree_type to 10 bits.
> >Unfortunately, there's not much space in tree_type to widen that field;
> >the structure is nicely packed for 32-bit and 64-bit hosts.  The
> >approach I've taken in the patch below is to move packed_flag into
> >tree_base and rearrange the bitfields in tree_type.  I realize this is
> >slightly gross, but I don't see a better way--suggestions welcome.
> 
> What about moving some language-specific bits from type to base?

I suppose that's doable but:

- Doesn't that make base bigger (i.e. it affects everything, whereas
  the proposed patch is neutral wrt space)?

- I personally don't know which bits could be safely moved.

-Nathan


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