This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] fix arm neon ICE by widening tree_type's precision field
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: Paolo Bonzini <paolo dot bonzini at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Jun 2009 13:27:57 -0700
- Subject: Re: [PATCH] fix arm neon ICE by widening tree_type's precision field
- References: <20090608153204.GW21107@codesourcery.com> <4A2D52B2.email@example.com>
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.