From: Warren Hunt Date: Sat, 22 Feb 2014 00:47:24 +0000 (+0000) Subject: [_mm_prefetch] Returning previously deleted comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30a2403e48d0ea78ad0e5b5d7d7fd44894839bd2;p=clang [_mm_prefetch] Returning previously deleted comment. No functional change. It's unclear if the word FIXME is relevant given that the macro behaves as intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201920 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/xmmintrin.h b/lib/Headers/xmmintrin.h index 9a2841fc59..c8765a70f8 100644 --- a/lib/Headers/xmmintrin.h +++ b/lib/Headers/xmmintrin.h @@ -673,6 +673,9 @@ _mm_storer_ps(float *__p, __m128 __a) #define _MM_HINT_NTA 0 #ifndef _MSC_VER +/* FIXME: We have to #define this because "sel" must be a constant integer, and + Sema doesn't do any form of constant propagation yet. */ + #define _mm_prefetch(a, sel) (__builtin_prefetch((void *)(a), 0, (sel))) #endif