<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bob, do you have an example to show how to specify vectors and their</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">operations in C?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I.e., is the documentation of the item #2 ready?</DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Yes, see $(VLLVM)/docs/VectorCReference.txt, where $(VLLVM) means the source directory of the Vector LLVM tree.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Note that the Vector LLVM tree is way out of date with mainline LLVM, and some of the vector operations (e.g. arithmetic, shuffling, extracting and inserting scalars) are now available in mainline for fixed-length or "packed" vectors.  The experimental Vector LLVM branch allows some additional vector operations (e.g., compare, select, pack, and unpack) and also has support for arbitrary-length vectors.  Mainline vector support continues to improve, and many of the additional "packed" operations supported by Vector LLVM will eventually be part of mainline.  Right now I am working on adding compare and select to mainline and hope to get that checked in soon.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Rob</DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Robert L. Bocchino Jr.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Ph.D. Student, Computer Science</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">University of Illinois, Urbana-Champaign</FONT></P>  </DIV><BR></BODY></HTML>