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