<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 5 February 2014 11:48, Andrey Bokhanko <span dir="ltr"><<a href="mailto:andreybokhanko@gmail.com" target="_blank">andreybokhanko@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>As was already noted, a lot of the things you want to add overlap with "omp simd" pragma -- which is a part of OpenMP 4.0 standard and already implemented in clang (committed to <a href="http://clang-omp.github.com" target="_blank">clang-omp.github.com</a>).<br>
</div></div></div></blockquote><div><br></div><div>Hi Andrey,</div><div><br></div><div>As far as I can get it from here:</div><div><br></div><div><a href="http://software.intel.com/en-us/node/462948">http://software.intel.com/en-us/node/462948</a><br>
</div><div><a href="http://software.intel.com/en-us/node/462942">http://software.intel.com/en-us/node/462942</a><br></div><div><br></div><div></div></div></div><div class="gmail_extra">It does provide some, but not all of the features we need. Or maybe the doc was too poor to explain the whole thing...</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">The only one I thought it could be used directly is the safelen(n), but we still don't have safety metadata for loops in the back-end.</div><div class="gmail_extra">
<br></div><div class="gmail_extra">I don't know how we could use those pragmas to control width and unroll factors, but I'm assuming that the existence of the pragma is the same as our "vectorize enable", however, there isn't a way to "disable" the vectorizer on a specific loop where the compiler does a bad job.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Anyway, I don't mind having the support for our metadata on different pragmas (or C++11 annotations)...</div><div class="gmail_extra"><br></div><div class="gmail_extra">
cheers,</div><div class="gmail_extra">--renato</div></div>