[PATCH] D85699: PR47099: Split <intrin0.h> out of <intrin.h>.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 17:50:18 PDT 2020
rsmith created this revision.
rsmith added reviewers: hans, BillyONeal.
Herald added subscribers: cfe-commits, jfb, mgorny.
Herald added a project: clang.
rsmith requested review of this revision.
This aims to be compatible with Visual C++'s <intrin0.h>, but not
exactly match it. The contents of <intrin0.h> are a subset of <intrin.h>
that provide the parts that the STL needs without pulling in all of
<immintrin.h>. We don't want to hardcode exactly which things are in
<intrin0.h>, as that changes over time depending on the needs of the
STL, so instead include all the MS-specific functions, and none of the
<immintrin.h> functions except for the ones that we know the MS STL
needs -- specifically, _tzcnt_u*.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85699
Files:
clang/lib/Headers/CMakeLists.txt
clang/lib/Headers/bmiintrin.h
clang/lib/Headers/intrin.h
clang/lib/Headers/intrin0.h
clang/test/Headers/ms-intrin0.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85699.284538.patch
Type: text/x-patch
Size: 31509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200811/6cf2e72c/attachment-0001.bin>
More information about the cfe-commits
mailing list