[PATCH] D47182: [X86] Move all Intel defined intrinsic includes into immintrin.h

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 21 23:08:24 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: DavidKreitzer, echristo, RKSimon, rnk.

This matches the Intel documentation which shows them available by importing immintrin.h. x86intrin.h also includes immintrin.h so anyone including x86intrin.h will still get them.

This is different than gcc, but I don't think we were a perfect match there already. I'm unclear what gcc's policy is about how they choose which to add things to.


Repository:
  rC Clang

https://reviews.llvm.org/D47182

Files:
  lib/Headers/bmi2intrin.h
  lib/Headers/bmiintrin.h
  lib/Headers/cldemoteintrin.h
  lib/Headers/clzerointrin.h
  lib/Headers/immintrin.h
  lib/Headers/lzcntintrin.h
  lib/Headers/movdirintrin.h
  lib/Headers/pconfigintrin.h
  lib/Headers/ptwriteintrin.h
  lib/Headers/rdseedintrin.h
  lib/Headers/sgxintrin.h
  lib/Headers/waitpkgintrin.h
  lib/Headers/wbnoinvdintrin.h
  lib/Headers/x86intrin.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47182.147950.patch
Type: text/x-patch
Size: 9581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180522/e7462e99/attachment.bin>


More information about the cfe-commits mailing list