[PATCH] Adding _mm_prefetch and other builtins

David Majnemer david.majnemer at gmail.com
Tue Feb 18 15:51:27 PST 2014



================
Comment at: include/clang/Basic/BuiltinsX86.def:31
@@ +30,3 @@
+BUILTIN(_InterlockedDecrement, "LiLiD*", "n")
+BUILTIN(_InterlockedExchangeAdd, "LiLiD*Li", "n")
+
----------------
These should not be available in all language modes. Perhaps use `LANGBUILTIN` with `ALL_MS_LANGUAGES`?


http://llvm-reviews.chandlerc.com/D2822



More information about the cfe-commits mailing list