[LLVMdev] Misunderstanding vector

Chris Lattner clattner at apple.com
Mon Sep 22 08:41:30 PDT 2008


On Sep 22, 2008, at 5:29 AM, Duncan Sands wrote:

>>> The code generator cannot handle vectors with more than 16383 (?)
>>> elements.  Even so, I'm not sure it makes much sense to use vectors
>>> with more than a handful of elements.
>>
>> I understood Chris to say that these instructions were for SIMD
>> machines, and if the limit you mention applies to SIMD I'm not  
>> worried.
>> Does that limit also apply to arrays?
>
> No it doesn't, it is vector specific.  There may be limits on  
> arrays, but
> I don't know what they are.

Arrays can be up to 2^63 in size if I recall.

-Chris



More information about the llvm-dev mailing list