]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/architecture/rs6k.h
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)
8 #ifndef BOOST_PREDEF_ARCHITECTURE_RS6K_H
9 #define BOOST_PREDEF_ARCHITECTURE_RS6K_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
17 http://en.wikipedia.org/wiki/RS/6000[RS/6000] architecture.
21 | {predef_symbol} | {predef_version}
23 | `+__THW_RS6000+` | {predef_detection}
24 | `+_IBMR2+` | {predef_detection}
25 | `+_POWER+` | {predef_detection}
26 | `+_ARCH_PWR+` | {predef_detection}
27 | `+_ARCH_PWR2+` | {predef_detection}
29 */ // end::reference[]
31 #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE
33 #if defined(__THW_RS6000) || defined(_IBMR2) || \
34 defined(_POWER) || defined(_ARCH_PWR) || \
36 # undef BOOST_ARCH_RS6000
37 # define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE
41 # define BOOST_ARCH_RS6000_AVAILABLE
45 # undef BOOST_ARCH_WORD_BITS_32
46 # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
49 #define BOOST_ARCH_RS6000_NAME "RS/6000"
51 #define BOOST_ARCH_PWR BOOST_ARCH_RS6000
54 # define BOOST_ARCH_PWR_AVAILABLE
58 # undef BOOST_ARCH_WORD_BITS_32
59 # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
62 #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME
66 #include <boost/predef/detail/test.h>
67 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000
,BOOST_ARCH_RS6000_NAME
)