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 ICE on BIT_FIELD_REF <VECTOR_CST> (PR regression/21897)


On Sat, Jun 04, 2005 at 11:25:03AM -0600, Roger Sayle wrote:
> My personal preference on this issue would be to force the front-ends
> to fully populate these vectors to the appropriate size, padding with
> zero elements as necessary.  Because, the constants in a VECTOR_CST can
> be shared the space overhead is minimal.  It also avoids the ambiguity
> in whether { 12, 14 } should be considered equal to { 12, 14, 0, 0 },
> and should simplify the implementations of folding vector operations,
> which would need to handle implicit zeros for vector addition, vector
> subtraction, vector multiplication, etc...
> 
> Thoughts?

Agreed.


r~


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