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*.
Details
- Reviewers
hans BillyONeal
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-format: please reformat the code