github.com/searKing/golang/go@v1.2.117/runtime/cgosymbolizer/include/boost/predef/architecture/rs6k.h (about) 1 /* 2 Copyright Rene Rivera 2008-2015 3 Distributed under the Boost Software License, Version 1.0. 4 (See accompanying file LICENSE_1_0.txt or copy at 5 http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 8 #ifndef BOOST_PREDEF_ARCHITECTURE_RS6K_H 9 #define BOOST_PREDEF_ARCHITECTURE_RS6K_H 10 11 #include <boost/predef/version_number.h> 12 #include <boost/predef/make.h> 13 14 /* tag::reference[] 15 = `BOOST_ARCH_RS6000` 16 17 http://en.wikipedia.org/wiki/RS/6000[RS/6000] architecture. 18 19 [options="header"] 20 |=== 21 | {predef_symbol} | {predef_version} 22 23 | `+__THW_RS6000+` | {predef_detection} 24 | `+_IBMR2+` | {predef_detection} 25 | `+_POWER+` | {predef_detection} 26 | `+_ARCH_PWR+` | {predef_detection} 27 | `+_ARCH_PWR2+` | {predef_detection} 28 |=== 29 */ // end::reference[] 30 31 #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE 32 33 #if defined(__THW_RS6000) || defined(_IBMR2) || \ 34 defined(_POWER) || defined(_ARCH_PWR) || \ 35 defined(_ARCH_PWR2) 36 # undef BOOST_ARCH_RS6000 37 # define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE 38 #endif 39 40 #if BOOST_ARCH_RS6000 41 # define BOOST_ARCH_RS6000_AVAILABLE 42 #endif 43 44 #define BOOST_ARCH_RS6000_NAME "RS/6000" 45 46 #define BOOST_ARCH_PWR BOOST_ARCH_RS6000 47 48 #if BOOST_ARCH_PWR 49 # define BOOST_ARCH_PWR_AVAILABLE 50 #endif 51 52 #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME 53 54 #endif 55 56 #include <boost/predef/detail/test.h> 57 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000,BOOST_ARCH_RS6000_NAME)