[LLVMdev] Calling functions across modules. And those pesky vectors!
Chris Lattner
sabre at nondot.org
Mon Jan 7 20:30:10 PST 2008
On Jan 7, 2008, at 2:17 PM, Jon Harrop wrote:
> On Friday 04 January 2008 17:55:34 Chris Lattner wrote:
>> On Thu, 3 Jan 2008, Danny wrote:
>>> Second, I was under the impression that vector types were fairly
>>> well,
>>> but I can't seem to get a simple function which takes in and returns
>>> vectors to work properly. And I don't understand the error. I made a
>>> simple function which was just supposed to multiply two 3 component
>>> float vectors and return the result:
>>
>> Non-power-of-two vectors are a very new feature and are not fully
>> supported. You'll get best results if you stick with vectors of
>> legal
>> size for your hardware, e.g. 4 x float for sse or altivec.
>
> Are you planning to support arbitrary-length vectors then?
Yes, we already have reasonable support for arbitrary power of two
vectors. It doesn't get much exercise though, so I wouldn't be
shocked if there were a bug or two though :)
-Chris
More information about the llvm-dev
mailing list