Displaying 2 results from an estimated 2 matches for "gahagan".
Did you mean:
gagan
2013 Dec 12
0
[LLVMdev] AVX code gen
...zeroupper
ret
.cfi_endproc
$ cat test.c
void f(float * restrict A, float * restrict B, float * restrict C) {
for (int i = 0; i < 256; ++i)
A[i] += C[i] *B[i];
}
$ clang -v
clang version 3.5 (trunk 195376) (llvm/trunk 195372)
Best,
Arnold
On Dec 11, 2013, at 2:59 PM, Ken Gahagan <ken.gahagan at gmail.com> wrote:
> Hello -
>
> I found this post on the llvm blog: http://blog.llvm.org/2012/12/new-loop-vectorizer.html which makes me think that clang / llvm are capable of generating AVX with packed instructions as well as utilizing the full width of the YMM reg...
2013 Dec 11
2
[LLVMdev] AVX code gen
Hello -
I found this post on the llvm blog: http://blog.llvm.org/2012/12/new-loop-vectorizer.html which makes me think that clang / llvm are capable of generating AVX with packed instructions as well as utilizing the full width of the YMM registers… I have an environment where icc generates these instructions (vmulps %ymm1, %ymm3, %ymm2 for example) but I can not get clang/llvm to generate such