<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Oct 21, 2007, at 6:23 PM, BGB wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV dir="ltr"><FONT face="Arial" size="2"><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 10px; ">ok, just in my case, I guess I am a little fussy/weird, wanting efficient dot and cross products  (if at all possible, though these operations at present don't exist natively within SSE...), among many other operations (length, lerp, renormalization, ..).</SPAN></FONT></DIV><DIV dir="ltr"><FONT face="Arial" size="2"></FONT> </DIV><DIV dir="ltr"><FONT face="Arial" size="2"><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 10px; ">then again, probably a fairly smart compiler could still get plenty good results out of inline functions and intrinsics or something (as it so happens, my compiler is not so smart here, so I made these features builtin, and fell back to functions for more involved operations, such as quaternion slerp, ...).</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV></SPAN></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>llvm-gcc and clang both fully support GCC style generic vectors and altivec/sse intrinsics.  In addition, clang supports "glsl" style vector permutations, direct vector element access, etc.  The LLVM optimizer and code generator supports many vector operations independent of the front-end syntax, as well as highly optimized code generation for Altivec and SSE.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Chris</DIV><BR></DIV><BR></BODY></HTML>