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] BIT_FIELD_REF on VECTOR_CST


On Mon, May 30, 2005 at 02:22:49PM -0600, Roger Sayle wrote:
> In fact, it should be possible to improve on your
> patch and lower a BIT_FIELD_REF of a VECTOR_CST to a BIT_FIELD_REF
> of a REAL_CST or INTEGER_CST even if the offset and length aren't
> perfectly aligned.

I'm not sure that's worthwhile.  Better might be to go ahead
and add VECTOR_ELT_{INS,EXT} codes to insert and extract the
various elements, rather than overloading BIT_FIELD_REF.


r~


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