This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Some middle-end improvements for bitfield handling
- From: Geert Bosch <bosch at gnat dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Jun 2004 11:37:55 -0400
- Subject: Re: [PATCH] Some middle-end improvements for bitfield handling
- References: <10406301355.AA16523@vlsi1.ultra.nyu.edu>
On Jun 30, 2004, at 09:55, Richard Kenner wrote:
We may want to lower bitfields in some cases, for example if
the vectorizer determines that accesses in a loop can be
vectorized.
I don't follow. How could it do that for fields that were not arrays?
We don't currently support arrays of bitfields.
For example, you may have an array of 32-bit structs with
bitfields and a loop body performing operations on those fields.
When you lower these operations to operations on 32-bit unsigned
integers, they might be a candidate for vectorizing.
-Geert