summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/DeclSpec.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-08-25 07:21:33 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-08-25 07:21:33 +0000
commit2c8f9c2c23e0cafd7b85a7aec969c949349f747c (patch)
tree4a488a30801bc68aca7b04ad6cebf406f9c34a69 /clang/lib/Sema/DeclSpec.cpp
parentbc385daaf7d9f2302fe54f17f7b9e2c1febd47e5 (diff)
downloadbcm5719-llvm-2c8f9c2c23e0cafd7b85a7aec969c949349f747c.tar.gz
bcm5719-llvm-2c8f9c2c23e0cafd7b85a7aec969c949349f747c.zip
[X86] Expose the various _rot intrinsics on non-MS platforms
_rotl, _rotwl and _lrotl (and their right-shift counterparts) are official x86 intrinsics, and should be supported regardless of environment. This is in contrast to _rotl8, _rotl16, and _rotl64 which are MS-specific. Note that the MS documentation for _lrotl is different from the Intel documentation. Intel explicitly documents it as a 64-bit rotate, while for MS, since sizeof(unsigned long) for MSVC is always 4, a 32-bit rotate is implied. Differential Revision: http://reviews.llvm.org/D12271 llvm-svn: 245923
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud