zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

x86intrin.h (1067B) - Raw


      1 /*===---- x86intrin.h - Implementation of X86 intrinsics on PowerPC --------===
      2  *
      3  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
      4  * See https://llvm.org/LICENSE.txt for license information.
      5  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
      6  *
      7  *===-----------------------------------------------------------------------===
      8  */
      9 
     10 #ifndef NO_WARN_X86_INTRINSICS
     11 /* This header is distributed to simplify porting x86_64 code that
     12    makes explicit use of Intel intrinsics to powerpc64le.
     13    It is the user's responsibility to determine if the results are
     14    acceptable and make additional changes as necessary.
     15    Note that much code that uses Intel intrinsics can be rewritten in
     16    standard C or GNU C extensions, which are more portable and better
     17    optimized across multiple targets.  */
     18 #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
     19 #endif
     20 
     21 #ifndef X86INTRIN_H_
     22 #define X86INTRIN_H_
     23 
     24 #ifdef __ALTIVEC__
     25 #include <immintrin.h>
     26 #endif /* __ALTIVEC__ */
     27 
     28 #endif /* X86INTRIN_H_ */