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>
|
|
|
|
|
2012-02-20 15:35:45 +08:00
|
|
|
#ifdef __3dNOW__
|
|
|
|
#include <mm3dnow.h>
|
|
|
|
#endif
|
|
|
|
|
2011-12-25 14:25:37 +08:00
|
|
|
#ifdef __BMI__
|
|
|
|
#include <bmiintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2011-12-26 10:31:10 +08:00
|
|
|
#ifdef __BMI2__
|
|
|
|
#include <bmi2intrin.h>
|
|
|
|
#endif
|
|
|
|
|
2011-12-25 14:25:37 +08:00
|
|
|
#ifdef __LZCNT__
|
|
|
|
#include <lzcntintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2011-12-30 00:10:46 +08:00
|
|
|
#ifdef __POPCNT__
|
|
|
|
#include <popcntintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2013-03-29 13:17:55 +08:00
|
|
|
#ifdef __RDSEED__
|
|
|
|
#include <rdseedintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2013-03-27 01:52:08 +08:00
|
|
|
#ifdef __PRFCHW__
|
|
|
|
#include <prfchwintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2012-05-30 03:10:17 +08:00
|
|
|
#ifdef __SSE4A__
|
|
|
|
#include <ammintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2011-12-30 17:15:03 +08:00
|
|
|
#ifdef __FMA4__
|
|
|
|
#include <fma4intrin.h>
|
|
|
|
#endif
|
|
|
|
|
2012-06-10 08:39:38 +08:00
|
|
|
#ifdef __XOP__
|
|
|
|
#include <xopintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2013-10-01 01:25:14 +08:00
|
|
|
#ifdef __TBM__
|
|
|
|
#include <tbmintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2012-10-11 08:59:55 +08:00
|
|
|
#ifdef __F16C__
|
|
|
|
#include <f16cintrin.h>
|
|
|
|
#endif
|
|
|
|
|
2014-07-09 02:29:27 +08:00
|
|
|
/* FIXME: LWP */
|
2010-08-23 04:38:05 +08:00
|
|
|
|
|
|
|
#endif /* __X86INTRIN_H */
|