1 1.1 mrg /* Copyright (C) 2008-2018 Free Software Foundation, Inc. 2 1.1 mrg 3 1.1 mrg This file is part of GCC. 4 1.1 mrg 5 1.1 mrg GCC is free software; you can redistribute it and/or modify 6 1.1 mrg it under the terms of the GNU General Public License as published by 7 1.1 mrg the Free Software Foundation; either version 3, or (at your option) 8 1.1 mrg any later version. 9 1.1 mrg 10 1.1 mrg GCC is distributed in the hope that it will be useful, 11 1.1 mrg but WITHOUT ANY WARRANTY; without even the implied warranty of 12 1.1 mrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 1.1 mrg GNU General Public License for more details. 14 1.1 mrg 15 1.1 mrg Under Section 7 of GPL version 3, you are granted additional 16 1.1 mrg permissions described in the GCC Runtime Library Exception, version 17 1.1 mrg 3.1, as published by the Free Software Foundation. 18 1.1 mrg 19 1.1 mrg You should have received a copy of the GNU General Public License and 20 1.1 mrg a copy of the GCC Runtime Library Exception along with this program; 21 1.1 mrg see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 22 1.1 mrg <http://www.gnu.org/licenses/>. */ 23 1.1 mrg 24 1.1 mrg #ifndef NO_WARN_X86_INTRINSICS 25 1.1 mrg /* This header is distributed to simplify porting x86_64 code that 26 1.1 mrg makes explicit use of Intel intrinsics to powerpc64le. 27 1.1 mrg It is the user's responsibility to determine if the results are 28 1.1 mrg acceptable and make additional changes as necessary. 29 1.1 mrg Note that much code that uses Intel intrinsics can be rewritten in 30 1.1 mrg standard C or GNU C extensions, which are more portable and better 31 1.1 mrg optimized across multiple targets. */ 32 1.1 mrg #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error." 33 1.1 mrg #endif 34 1.1 mrg 35 1.1 mrg #ifndef _X86INTRIN_H_INCLUDED 36 1.1 mrg #define _X86INTRIN_H_INCLUDED 37 1.1 mrg 38 1.1 mrg #ifdef __ALTIVEC__ 39 1.1 mrg #include <mmintrin.h> 40 1.1 mrg 41 1.1 mrg #include <xmmintrin.h> 42 1.1 mrg 43 1.1 mrg #include <emmintrin.h> 44 1.1 mrg #endif /* __ALTIVEC__ */ 45 1.1 mrg 46 1.1 mrg #include <bmiintrin.h> 47 1.1 mrg 48 1.1 mrg #include <bmi2intrin.h> 49 1.1 mrg 50 1.1 mrg #endif /* _X86INTRIN_H_INCLUDED */ 51