2010-08-23 04:38:05 +08:00
|
|
|
/*===---- x86intrin.h - X86 intrinsics -------------------------------------===
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
|
|
* in the Software without restriction, including without limitation the rights
|
|
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
* THE SOFTWARE.
|
|
|
|
*
|
|
|
|
*===-----------------------------------------------------------------------===
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __X86INTRIN_H
|
|
|
|
#define __X86INTRIN_H
|
|
|
|
|
2014-03-04 11:03:03 +08:00
|
|
|
#include <ia32intrin.h>
|
|
|
|
|
2010-08-23 04:38:05 +08:00
|
|
|
#include <immintrin.h>
|
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__3dNOW__)
|
2012-02-20 15:35:45 +08:00
|
|
|
#include <mm3dnow.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2012-02-20 15:35:45 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI__)
|
2011-12-25 14:25:37 +08:00
|
|
|
#include <bmiintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2011-12-25 14:25:37 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__BMI2__)
|
2011-12-26 10:31:10 +08:00
|
|
|
#include <bmi2intrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2011-12-26 10:31:10 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__LZCNT__)
|
2011-12-25 14:25:37 +08:00
|
|
|
#include <lzcntintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2011-12-25 14:25:37 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__POPCNT__)
|
2011-12-30 00:10:46 +08:00
|
|
|
#include <popcntintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2011-12-30 00:10:46 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__RDSEED__)
|
2013-03-29 13:17:55 +08:00
|
|
|
#include <rdseedintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2013-03-29 13:17:55 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__PRFCHW__)
|
2013-03-27 01:52:08 +08:00
|
|
|
#include <prfchwintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2013-03-27 01:52:08 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__SSE4A__)
|
2012-05-30 03:10:17 +08:00
|
|
|
#include <ammintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2012-05-30 03:10:17 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__FMA4__)
|
2011-12-30 17:15:03 +08:00
|
|
|
#include <fma4intrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2011-12-30 17:15:03 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__XOP__)
|
2012-06-10 08:39:38 +08:00
|
|
|
#include <xopintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2012-06-10 08:39:38 +08:00
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__TBM__)
|
2013-10-01 01:25:14 +08:00
|
|
|
#include <tbmintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2013-10-01 01:25:14 +08:00
|
|
|
|
2017-05-08 20:09:45 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__LWP__)
|
|
|
|
#include <lwpintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2016-05-17 02:14:07 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__F16C__)
|
2012-10-11 08:59:55 +08:00
|
|
|
#include <f16cintrin.h>
|
2016-05-17 02:14:07 +08:00
|
|
|
#endif
|
2012-10-11 08:59:55 +08:00
|
|
|
|
2016-05-18 19:56:23 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__MWAITX__)
|
|
|
|
#include <mwaitxintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2017-02-09 14:10:14 +08:00
|
|
|
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__CLZERO__)
|
|
|
|
#include <clzerointrin.h>
|
|
|
|
#endif
|
|
|
|
|
2010-08-23 04:38:05 +08:00
|
|
|
#endif /* __X86INTRIN_H */
|