Nick Lewycky | b764956 | 2010-08-22 20:38:05 +0000 | [diff] [blame] | 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 | |
| 24 | #ifndef __X86INTRIN_H |
| 25 | #define __X86INTRIN_H |
| 26 | |
| 27 | #include <immintrin.h> |
| 28 | |
Chandler Carruth | 345032a | 2012-02-20 07:35:45 +0000 | [diff] [blame] | 29 | #ifdef __3dNOW__ |
| 30 | #include <mm3dnow.h> |
| 31 | #endif |
| 32 | |
Craig Topper | 5c75208 | 2011-12-25 06:25:37 +0000 | [diff] [blame] | 33 | #ifdef __BMI__ |
| 34 | #include <bmiintrin.h> |
| 35 | #endif |
| 36 | |
Craig Topper | f58f364 | 2011-12-26 02:31:10 +0000 | [diff] [blame] | 37 | #ifdef __BMI2__ |
| 38 | #include <bmi2intrin.h> |
| 39 | #endif |
| 40 | |
Craig Topper | 5c75208 | 2011-12-25 06:25:37 +0000 | [diff] [blame] | 41 | #ifdef __LZCNT__ |
| 42 | #include <lzcntintrin.h> |
| 43 | #endif |
| 44 | |
Craig Topper | e14e08b | 2011-12-29 16:10:46 +0000 | [diff] [blame] | 45 | #ifdef __POPCNT__ |
| 46 | #include <popcntintrin.h> |
| 47 | #endif |
| 48 | |
Michael Liao | 1bfc28c | 2013-03-29 05:17:55 +0000 | [diff] [blame] | 49 | #ifdef __RDSEED__ |
| 50 | #include <rdseedintrin.h> |
| 51 | #endif |
| 52 | |
Michael Liao | 72339a0 | 2013-03-26 17:52:08 +0000 | [diff] [blame] | 53 | #ifdef __PRFCHW__ |
| 54 | #include <prfchwintrin.h> |
| 55 | #endif |
| 56 | |
Benjamin Kramer | 6b97877 | 2012-05-29 19:10:17 +0000 | [diff] [blame] | 57 | #ifdef __SSE4A__ |
| 58 | #include <ammintrin.h> |
| 59 | #endif |
| 60 | |
Craig Topper | 7feb321 | 2011-12-30 09:15:03 +0000 | [diff] [blame] | 61 | #ifdef __FMA4__ |
| 62 | #include <fma4intrin.h> |
| 63 | #endif |
| 64 | |
Craig Topper | 239c030 | 2012-06-10 00:39:38 +0000 | [diff] [blame] | 65 | #ifdef __XOP__ |
| 66 | #include <xopintrin.h> |
| 67 | #endif |
| 68 | |
Manman Ren | 146e5a4 | 2012-10-11 00:59:55 +0000 | [diff] [blame] | 69 | #ifdef __F16C__ |
| 70 | #include <f16cintrin.h> |
| 71 | #endif |
| 72 | |
Craig Topper | 239c030 | 2012-06-10 00:39:38 +0000 | [diff] [blame] | 73 | // FIXME: LWP |
Nick Lewycky | b764956 | 2010-08-22 20:38:05 +0000 | [diff] [blame] | 74 | |
| 75 | #endif /* __X86INTRIN_H */ |