summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/Intrin.h
Commit message (Collapse)AuthorAgeFilesLines
...
* intrin.h: include setjmp.h to get a jmp_buf definitionReid Kleckner2014-01-271-4/+3
| | | | | | | This fixes an error on our _setjmpex declaration for 64-bit code and allows us to declare _setjmp for 32-bit code. llvm-svn: 200237
* Add 'static __inline__' to MSVC intrinsics with implementationsReid Kleckner2014-01-271-0/+9
| | | | | | This avoids warnings visible with -Wsystem-headers. llvm-svn: 200235
* One more intrinsic.Eric Christopher2014-01-251-0/+2
| | | | llvm-svn: 200061
* Add missing intrinsics, fix a couple of typos in intrinsic names,Eric Christopher2014-01-241-6/+40
| | | | | | and remove duplicate declarations. llvm-svn: 199992
* Add implementations of __readfs{byte,word,dword,qword} to Intrin.hHans Wennborg2014-01-241-0/+33
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D2606 llvm-svn: 199958
* Intrin.h: fix definitions of _Interlocked{In,De}crement16Hans Wennborg2014-01-231-4/+4
| | | | | | | The declarations seem correct, but the definitions were using chars instead of shorts. llvm-svn: 199923
* Add implementations of _cpuid and _xgetbv to Intrin.hHans Wennborg2014-01-161-0/+19
| | | | | | | | | | | 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
* Add implementations of the MSVC barrier intrinsicsReid Kleckner2013-10-171-0/+21
| | | | | | | | | | | | | | | | 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
* Fixing implementation of bittestandset in Intrin.h.Warren Hunt2013-10-011-2/+2
| | | | llvm-svn: 191783
* Changing __X86_64__ to __x86_64__ in Intrin.h.Warren Hunt2013-09-301-12/+12
| | | | llvm-svn: 191700
* Typo correction: _int64 -> __int64.Warren Hunt2013-09-281-1/+1
| | | | llvm-svn: 191592
* Implements some of the more commonly used intrinsics in Intrin.hWarren Hunt2013-09-271-0/+412
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1766 llvm-svn: 191590
* Fix ifdef ordering at the end of Intrin.h from r190965Reid Kleckner2013-09-191-3/+5
| | | | | | Test that intrin.h at least parses in C++ TUs. llvm-svn: 190978
* Fix closing brace around ifdef.Eric Christopher2013-09-181-0/+2
| | | | llvm-svn: 190965
* The intrinsics should all have C linkage.Eric Christopher2013-09-181-2/+8
| | | | llvm-svn: 190963
* Typo.Eric Christopher2013-08-311-1/+1
| | | | llvm-svn: 189710
* Add initial clang targeted compatible decls for Intrin.h. Step towardsEric Christopher2013-08-311-0/+341
a windows compatible builtin header. Currently uses x86intrin.h for implementing intel intrinsics in a clang specific manner. llvm-svn: 189709
OpenPOWER on IntegriCloud