2010-08-23 04:38:05 +08:00
|
|
|
/*===---- x86intrin.h - X86 intrinsics -------------------------------------===
|
|
|
|
*
|
2019-04-09 04:51:30 +08:00
|
|
|
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
* See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2010-08-23 04:38:05 +08:00
|
|
|
*
|
|
|
|
*===-----------------------------------------------------------------------===
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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>
|
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __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
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __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
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __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
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __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
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __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
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __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
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
|
|
|
|
defined(__LWP__)
|
2017-05-08 20:09:45 +08:00
|
|
|
#include <lwpintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
|
|
|
|
defined(__MWAITX__)
|
2016-05-18 19:56:23 +08:00
|
|
|
#include <mwaitxintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2020-05-01 07:17:34 +08:00
|
|
|
#if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
|
|
|
|
defined(__CLZERO__)
|
2018-05-24 05:04:26 +08:00
|
|
|
#include <clzerointrin.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-08-23 04:38:05 +08:00
|
|
|
#endif /* __X86INTRIN_H */
|