Displaying 3 results from an estimated 3 matches for "a101a71e".
2013 Apr 17
0
[LLVMdev] Loop vectorizer behaviour for 2D arrays and parallel annotation
On 04/17/2013 04:55 AM, Anadi Mishra wrote:
> Hello,
>
> I am trying to vectorize the following loop but the vectorizer says:
> "Found a possible write-write reorder" and does not vectorize.
> Why?
To my knowledge, the dependence analysis in the loop vectorizer is not
yet able to prove the absence of dependences here.
> for (j=0; j < 8; j++)
> {
> jj
2013 Apr 17
1
[LLVMdev] Loop vectorizer behaviour for 2D arrays and parallel annotation
...uctures are declared my influence the analysis.
PFA the example.
-Best,
Anadi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.c
Type: text/x-csrc
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130417/a101a71e/attachment.c>
2013 Apr 17
4
[LLVMdev] Loop vectorizer behaviour for 2D arrays and parallel annotation
Hello,
I am trying to vectorize the following loop but the vectorizer says:
"Found a possible write-write reorder" and does not vectorize.
Why?
for (j=0; j < 8; j++)
{
jj = j << 3;
m2[j][0] = diff[jj ] + diff[jj+4];
m2[j][1] = diff[jj+1] + diff[jj+5];
m2[j][2] = diff[jj+2] + diff[jj+6];
m2[j][3] = diff[jj+3] + diff[jj+7];
m2[j][4] = diff[jj ] -