summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/prefetchw-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed test in rL243305Simon Pilgrim2015-07-271-3/+3
| | | | llvm-svn: 243314
* [X86] Add missing _m_prefetch intrinsicSimon Pilgrim2015-07-271-2/+8
| | | | | | | | | | | | The 3DNOW/PRFCHW cpu targets define both the PREFETCHW (set cache line modified) and PREFETCH (set cache line exclusive) instructions but only the _m_prefetchw (PREFETCHW) intrinsic is included in the header. This patch adds the missing _m_prefetch intrinsic. I'm basing this off AMD documentation - the intel docs on the support for PREFETCHW isn't clear whether Silvermont/Broadwell properly support PREFETCH but given that the intrinsic implementation is a default __builtin_prefetch call, it is safe whatever. Fix for PR23648 Differential Revision: http://reviews.llvm.org/D11338 llvm-svn: 243305
* Add PRFCHW intrinsic supportMichael Liao2013-03-261-0/+12
- Add head 'prfchwintrin.h' to define '_m_prefetchw' which is mapped to LLVM/clang prefetch builtin - Add option '-mprfchw' to enable PRFCHW feature and pre-define '__PRFCHW__' macro llvm-svn: 178041
OpenPOWER on IntegriCloud