<div dir="ltr">Any forward declarations of _mm_prefetch in any ms headers are compatible with the definition provided in xmmintrin.h provided by Intel.  Microsoft actually uses Intel's headers rather than making up their own like we and gcc do, thus automatically making them signature compatible with what Intel publishes.  I am presently assuming that any issues with incorrect uses of _mm_prefetch accepting non-char pointers all stem from clang's macro enabling incorrect usage.<div>
<br></div><div>-Warren</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 10:41 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class=""><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 10:39 AM, Warren Hunt <span dir="ltr"><<a href="mailto:whunt@google.com" target="_blank">whunt@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I believe that we should fix the code that doesn't use it correctly.</blockquote></div><br></div>While this would be ideal, note that some "incorrect" uses may be incompatible forward declarations in headers that can't be changed (f.ex. windows.h?)</div>

</div>
</blockquote></div><br></div>