Home | History | Annotate | Download | only in MacOSX
      1 //===-- HasAVX.h ------------------------------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 #ifndef HasAVX_h
     11 #define HasAVX_h
     12 
     13 #if defined (__i386__) || defined (__x86_64__)
     14 
     15 #ifdef __cplusplus
     16 extern "C" {
     17 #endif
     18 
     19 int HasAVX ();
     20 
     21 #ifdef __cplusplus
     22 }
     23 #endif
     24 
     25 #endif
     26 
     27 #endif
     28