Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_ARCHITECTURE_ALPHA_H
0009 #define BOOST_PREDEF_ARCHITECTURE_ALPHA_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_ARCH_ALPHA`
0016 
0017 http://en.wikipedia.org/wiki/DEC_Alpha[DEC Alpha] architecture.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 | `+__alpha__+` | {predef_detection}
0023 | `+__alpha+` | {predef_detection}
0024 | `+_M_ALPHA+` | {predef_detection}
0025 
0026 | `+__alpha_ev4__+` | 4.0.0
0027 | `+__alpha_ev5__+` | 5.0.0
0028 | `+__alpha_ev6__+` | 6.0.0
0029 |===
0030 */ // end::reference[]
0031 
0032 #define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033 
0034 #if defined(__alpha__) || defined(__alpha) || \
0035     defined(_M_ALPHA)
0036 #   undef BOOST_ARCH_ALPHA
0037 #   if !defined(BOOST_ARCH_ALPHA) && defined(__alpha_ev4__)
0038 #       define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER(4,0,0)
0039 #   endif
0040 #   if !defined(BOOST_ARCH_ALPHA) && defined(__alpha_ev5__)
0041 #       define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER(5,0,0)
0042 #   endif
0043 #   if !defined(BOOST_ARCH_ALPHA) && defined(__alpha_ev6__)
0044 #       define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER(6,0,0)
0045 #   endif
0046 #   if !defined(BOOST_ARCH_ALPHA)
0047 #       define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER_AVAILABLE
0048 #   endif
0049 #endif
0050 
0051 #if BOOST_ARCH_ALPHA
0052 #   define BOOST_ARCH_ALPHA_AVAILABLE
0053 #endif
0054 
0055 #if BOOST_ARCH_ALPHA
0056 #   undef BOOST_ARCH_WORD_BITS_64
0057 #   define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
0058 #endif
0059 
0060 #define BOOST_ARCH_ALPHA_NAME "DEC Alpha"
0061 
0062 #endif
0063 
0064 #include <boost/predef/detail/test.h>
0065 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_ALPHA,BOOST_ARCH_ALPHA_NAME)