[llvm-commits] PATCH: remove VICmp and VFCmp.

Chris Lattner clattner at apple.com
Thu Jul 9 09:37:08 PDT 2009


On Jul 9, 2009, at 1:15 AM, Duncan Sands wrote:

> Hi Dave,
>
>> I haven't been tracking this, so can someone explain what the  
>> "vectors of
>> i1 problem" is?  Is it a problem of how to generate code on  
>> architectures
>> that don't have a mask concept?
>
> how is <8 x i1> stored in memory?  8 bits packed into a byte, or  
> like an
> array [8 x i1], which on most machines is stored as 8 bytes?  I  
> think it
> is clear that it should be stored the same as an array would be.

> By the way, I'm pretty sure that gcc lays out vectors of x86 long
> double the same as an array.

I think vectors should always be stored to memory with the same layout  
as the equivalent array.

-Chris



More information about the llvm-commits mailing list