r201775 - Revert r201734 and r201742.

Warren Hunt whunt at google.com
Thu Feb 20 10:50:54 PST 2014


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.

-Warren


On Thu, Feb 20, 2014 at 10:41 AM, Chandler Carruth <chandlerc at google.com>wrote:

>
> On Thu, Feb 20, 2014 at 10:39 AM, Warren Hunt <whunt at google.com> wrote:
>
>>  I believe that we should fix the code that doesn't use it correctly.
>
>
> 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?)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140220/4935bbc7/attachment.html>


More information about the cfe-commits mailing list