llvm-project/clang/lib/Headers
Hans Wennborg 854f7d34ec Add implementations of _cpuid and _xgetbv to Intrin.h
The _cpuid() implementation is the same as in lib/Headers/cpuid.h
with the parameter names adjusted to match the interface.

_xgetbv just does what the Intel manual says.

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

llvm-svn: 199439
2014-01-16 23:39:35 +00:00
..
CMakeLists.txt [CMake][VS][XCode] Restruct the output directory layout more comfortable, ${BINARY_DIR}/${BUILD_MODE}/(bin|lib) 2013-12-30 06:48:30 +00:00
Intrin.h Add implementations of _cpuid and _xgetbv to Intrin.h 2014-01-16 23:39:35 +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 Intrinsics: fix extract & insert when index is out of bound. 2013-10-23 20:33:14 +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 Add bit_FXSAVE as an alias for bit_FXSR, for gcc compat. 2013-12-16 17:54:57 +00:00
emmintrin.h Fix a SSE2 intrinsics typo 2013-11-23 22:11:57 +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 Define [U]LLONG_{MIN,MAX} for C++11, add tests. 2013-10-27 19:00:49 +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 Intrinsics: fix extract & insert when index is out of bound. 2013-10-23 20:33:14 +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
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