]> git.donarmstrong.com Git - rsem.git/blob - boost/predef/architecture/rs6k.h
Updated boost to v1.55.0
[rsem.git] / boost / predef / architecture / rs6k.h
1 /*
2 Copyright Redshift Software, Inc. 2008-2013
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 /*`
15 [heading `BOOST_ARCH_RS6000`]
16
17 [@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture.
18
19 [table
20     [[__predef_symbol__] [__predef_version__]]
21
22     [[`__THW_RS6000`] [__predef_detection__]]
23     [[`_IBMR2`] [__predef_detection__]]
24     [[`_POWER`] [__predef_detection__]]
25     [[`_ARCH_PWR`] [__predef_detection__]]
26     [[`_ARCH_PWR2`] [__predef_detection__]]
27     ]
28  */
29
30 #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE
31
32 #if defined(__THW_RS6000) || defined(_IBMR2) || \
33     defined(_POWER) || defined(_ARCH_PWR) || \
34     defined(_ARCH_PWR2)
35 #   undef BOOST_ARCH_RS6000
36 #   define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE
37 #endif
38
39 #if BOOST_ARCH_RS6000
40 #   define BOOST_ARCH_RS6000_AVAILABLE
41 #endif
42
43 #define BOOST_ARCH_RS6000_NAME "RS/6000"
44
45 #include <boost/predef/detail/test.h>
46 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000,BOOST_ARCH_RS6000_NAME)
47
48 #define BOOST_ARCH_PWR BOOST_ARCH_RS6000
49
50 #if BOOST_ARCH_PWR
51 #   define BOOST_ARCH_PWR_AVAILABLE
52 #endif
53
54 #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME
55
56 #endif