[PATCH] Adding _mm_prefetch and other builtins
whunt at google.com
Tue Feb 18 15:26:44 PST 2014
This patch adds several built-ins that are required for ms compatibility. _mm_prefetch must be a built-in because it takes a compile-time constant argument and our prior approach of using a #define to the current built-in doesn't work in the presence of re-declaration of _mm_prefetch. The others can be obtained by including the windows system headers. If a user includes the windows system headers but not intrin.h they still need to work and therefore must be built-in because we don't get a chance to implement them in intrin.h in this case.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9922 bytes
Desc: not available
More information about the cfe-commits