[LLVMdev] Vector code

Nicolas Capens nicolas at capens.net
Thu May 8 08:24:45 PDT 2008


Hi all,

 

I'm trying to use LLVM to generate SIMD code at runtime (in particular Intel
SSE). But I'm having a bit of trouble understanding how to create even the
simplest function; adding two vectors of four single-precision
floating-point elements. I can get it to add the elements one at a time but
not using one vector instruction.

 

All help much appreciated!

 

Nicolas Capens

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080508/967e796c/attachment.html>


More information about the llvm-dev mailing list