[LLVMdev] Calling functions across modules. And those pesky vectors!

Jon Harrop jon at ffconsultancy.com
Mon Jan 7 14:17:14 PST 2008


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?

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e



More information about the llvm-dev mailing list