llvm-project/clang/lib/Headers
Reid Kleckner 00d33a5cb1 Add implementations of the MSVC barrier intrinsics
Summary:
These are deprecated in VS 2012 according to MSDN.  They don't actually
compile down to any code.  They prevent the compiler from reordering
memory accesses across the barrier, which is what a memory-clobbering
volatile asm does.

Reviewers: echristo

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1954

llvm-svn: 192860
2013-10-17 01:29:48 +00:00
..
CMakeLists.txt Adding intrinsics to the clang front end for the x86 TBM instruction set. 2013-09-30 17:25:14 +00:00
Intrin.h Add implementations of the MSVC barrier intrinsics 2013-10-17 01:29:48 +00:00
Makefile Introduce a module map for (some of) the compiler-supplied 2012-01-29 20:52:14 +00:00
__wmmintrin_aes.h Split the instrinsic header wmmintrin.h into AES and PCLMUL parts, so 2012-11-05 23:30:26 +00:00
__wmmintrin_pclmul.h Split the instrinsic header wmmintrin.h into AES and PCLMUL parts, so 2012-11-05 23:30:26 +00:00
altivec.h PR15480: fixed second parameter types of vec_lde, vec_lvebx, vec_lvehx, and vec_lvewx according to AltiVec Programming Interface Manual 2013-03-10 16:25:43 +00:00
ammintrin.h Add an ammintrin.h header for SSE4a intrinsics. 2012-05-29 19:10:17 +00:00
avx2intrin.h Fix argument types of some AVX2 intrinsics. 2013-09-23 23:52:04 +00:00
avxintrin.h Use a shuffle with undef elements instead of inserting 0s in the 128-bit to 256-bit casting intrinsics to improve performance. Thanks to Katya Romanova for identifying this issue. 2013-08-05 06:17:21 +00:00
bmi2intrin.h Add intrinsic of MULX in BMI2 header 2012-10-05 18:50:09 +00:00
bmiintrin.h Rename tzcnt intrinsics to match gcc. 2012-07-02 06:52:51 +00:00
cpuid.h This patch implements __get_cpuid_max() as an inline and __cpuid() and 2013-07-19 17:28:36 +00:00
emmintrin.h Suppress useless -Wshadow warning when using _mm* macros from emmintrin.h 2013-10-07 23:51:11 +00:00
f16cintrin.h Remove some stray underscores from copyright block. Fix first line length to match length of the one after the copyright block. 2013-09-27 03:57:18 +00:00
float.h Expand #include_next in float.h from mingw to _msc_ver. 2012-04-24 23:43:40 +00:00
fma4intrin.h Add FMA4 intrinsics. 2011-12-30 09:15:03 +00:00
fmaintrin.h Add fma3 intrinsic header file. 2012-06-04 03:42:47 +00:00
immintrin.h Move sha intrinsics to immintrin.h 2013-09-19 14:00:22 +00:00
iso646.h
limits.h Remove WCHAR_MIN and WCHAR_MAX from limits.h. According to posix and c99 2011-09-08 23:25:25 +00:00
lzcntintrin.h Add intrinsics for lzcnt and tzcnt instructions. 2011-12-25 06:25:37 +00:00
mm3dnow.h Add PRFCHW intrinsic support 2013-03-26 17:52:08 +00:00
mm_malloc.h PR14964: intrinsic headers using non-reserved identifiers 2013-01-16 23:08:36 +00:00
mmintrin.h
module.map Even in a modules world, people will depend on the weird xmmintrin.h -> emmintrin.h forwarding. 2013-06-07 22:49:44 +00:00
nmmintrin.h
pmmintrin.h PR14964: intrinsic headers using non-reserved identifiers 2013-01-16 23:08:36 +00:00
popcntintrin.h Add popcnt feature flag to match gcc. This flag is implied when sse42 is enabled, but can be disabled separately. Move popcnt intrinsics to popcntintrin.h to match gcc. 2011-12-29 16:10:46 +00:00
prfchwintrin.h Add include guards to prfchwintrin.h. 2013-05-09 15:07:39 +00:00
rdseedintrin.h Add missing include guards into headers in lib/Headers. While it may appear 2013-07-14 05:41:45 +00:00
rtmintrin.h Add missing include guards into headers in lib/Headers. While it may appear 2013-07-14 05:41:45 +00:00
shaintrin.h Fix ifdef macro missed in previous commit 2013-09-19 14:07:14 +00:00
smmintrin.h Fix return type of _mm_extract_epi8 etc. 2013-09-21 00:05:25 +00:00
stdalign.h libstdc++'s <cstdalign> #includes <stdalign.h> and expects it to guard against 2013-02-21 02:17:58 +00:00
stdarg.h Define va_copy when in C++0x mode; C++0x picked it up from C99. 2011-06-20 15:03:22 +00:00
stdbool.h
stddef.h Make sure we define wchar_t related macros correctly in -fms-extensions mode. 2013-05-02 13:12:32 +00:00
stdint.h Headers: Add support for ISO9899:2011 rsize_t. 2013-04-12 23:24:56 +00:00
stdnoreturn.h Parsing support for C11's _Noreturn keyword. No semantics yet. 2013-01-17 22:16:11 +00:00
tbmintrin.h Use logical/arithmetic operations instead of builtins in tbmintrin.h. This way we can remove the intrinsic support from the backend. 2013-10-05 17:08:42 +00:00
tgmath.h Fix the return type of the complex creal functions. Patch by YunZhong Gao, modified to use _Static_assert and to check __STDC_HOSTED__ by me. 2013-05-09 17:41:19 +00:00
tmmintrin.h PR14964: intrinsic headers using non-reserved identifiers 2013-01-16 23:08:36 +00:00
unwind.h Provide inline definitions of _Unwind_GetIP etc. for ARM in unwind.h 2013-09-25 22:34:03 +00:00
varargs.h
wmmintrin.h Split the instrinsic header wmmintrin.h into AES and PCLMUL parts, so 2012-11-05 23:30:26 +00:00
x86intrin.h Adding intrinsics to the clang front end for the x86 TBM instruction set. 2013-09-30 17:25:14 +00:00
xmmintrin.h X86 intrinsics: cmpge|gt|nge|ngt_ss|_sd 2013-06-17 19:42:49 +00:00
xopintrin.h xopintrin.h: Add wrappers for all flavors of _mm_com. 2013-05-09 15:07:46 +00:00