[PATCH] D47174: [X86] Move 128-bit f16c intrinsics to __emmintrin_f16c.h include from emmintrin.h. Move 256-bit f16c intrinsics back to f16cintrin.h

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


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

Intel documents the 128-bit versions as being in emmintrin.h and the 256-bit version as being in immintrin.h.

This patch makes a new __emmtrin_f16c.h to hold the 128-bit versions to be included from emmintrin.h. And makes the existing f16cintrin.h contain the 256-bit versions and include it from immintrin.h with an error if its included directly.


Repository:
  rC Clang

https://reviews.llvm.org/D47174

Files:
  lib/Headers/__emmintrin_f16c.h
  lib/Headers/emmintrin.h
  lib/Headers/f16cintrin.h
  lib/Headers/immintrin.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47174.147932.patch
Type: text/x-patch
Size: 8828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180522/317eeb0d/attachment.bin>


More information about the cfe-commits mailing list