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_RS6K_H
0009 #define BOOST_PREDEF_ARCHITECTURE_RS6K_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_ARCH_RS6000`
0016 
0017 http://en.wikipedia.org/wiki/RS/6000[RS/6000] architecture.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+__THW_RS6000+` | {predef_detection}
0024 | `+_IBMR2+` | {predef_detection}
0025 | `+_POWER+` | {predef_detection}
0026 | `+_ARCH_PWR+` | {predef_detection}
0027 | `+_ARCH_PWR2+` | {predef_detection}
0028 |===
0029 */ // end::reference[]
0030 
0031 #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE
0032 
0033 #if defined(__THW_RS6000) || defined(_IBMR2) || \
0034     defined(_POWER) || defined(_ARCH_PWR) || \
0035     defined(_ARCH_PWR2)
0036 #   undef BOOST_ARCH_RS6000
0037 #   define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE
0038 #endif
0039 
0040 #if BOOST_ARCH_RS6000
0041 #   define BOOST_ARCH_RS6000_AVAILABLE
0042 #endif
0043 
0044 #if BOOST_ARCH_RS6000
0045 #   undef BOOST_ARCH_WORD_BITS_32
0046 #   define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0047 #endif
0048 
0049 #define BOOST_ARCH_RS6000_NAME "RS/6000"
0050 
0051 #define BOOST_ARCH_PWR BOOST_ARCH_RS6000
0052 
0053 #if BOOST_ARCH_PWR
0054 #   define BOOST_ARCH_PWR_AVAILABLE
0055 #endif
0056 
0057 #if BOOST_ARCH_PWR
0058 #   undef BOOST_ARCH_WORD_BITS_32
0059 #   define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0060 #endif
0061 
0062 #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME
0063 
0064 #endif
0065 
0066 #include <boost/predef/detail/test.h>
0067 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000,BOOST_ARCH_RS6000_NAME)