x86intrin.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*===---- x86intrin.h - X86 intrinsics -------------------------------------===
  2. *
  3. * Permission is hereby granted, free of charge, to any person obtaining a copy
  4. * of this software and associated documentation files (the "Software"), to deal
  5. * in the Software without restriction, including without limitation the rights
  6. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. * copies of the Software, and to permit persons to whom the Software is
  8. * furnished to do so, subject to the following conditions:
  9. *
  10. * The above copyright notice and this permission notice shall be included in
  11. * all copies or substantial portions of the Software.
  12. *
  13. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. * THE SOFTWARE.
  20. *
  21. *===-----------------------------------------------------------------------===
  22. */
  23. #ifndef __X86INTRIN_H
  24. #define __X86INTRIN_H
  25. #include <ia32intrin.h>
  26. #include <immintrin.h>
  27. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__3dNOW__)
  28. #include <mm3dnow.h>
  29. #endif
  30. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI__)
  31. #include <bmiintrin.h>
  32. #endif
  33. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI2__)
  34. #include <bmi2intrin.h>
  35. #endif
  36. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__LZCNT__)
  37. #include <lzcntintrin.h>
  38. #endif
  39. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__POPCNT__)
  40. #include <popcntintrin.h>
  41. #endif
  42. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__RDSEED__)
  43. #include <rdseedintrin.h>
  44. #endif
  45. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__PRFCHW__)
  46. #include <prfchwintrin.h>
  47. #endif
  48. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__SSE4A__)
  49. #include <ammintrin.h>
  50. #endif
  51. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__FMA4__)
  52. #include <fma4intrin.h>
  53. #endif
  54. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__XOP__)
  55. #include <xopintrin.h>
  56. #endif
  57. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__TBM__)
  58. #include <tbmintrin.h>
  59. #endif
  60. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__LWP__)
  61. #include <lwpintrin.h>
  62. #endif
  63. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__F16C__)
  64. #include <f16cintrin.h>
  65. #endif
  66. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__MWAITX__)
  67. #include <mwaitxintrin.h>
  68. #endif
  69. #if !defined(_MSC_VER) || __has_feature(modules) || defined(__CLZERO__)
  70. #include <clzerointrin.h>
  71. #endif
  72. #endif /* __X86INTRIN_H */