Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002 Copyright Rene Rivera 2011-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_CONVEX_H
0009 #define BOOST_PREDEF_ARCHITECTURE_CONVEX_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_ARCH_CONVEX`
0016 
0017 http://en.wikipedia.org/wiki/Convex_Computer[Convex Computer] architecture.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+__convex__+` | {predef_detection}
0024 
0025 | `+__convex_c1__+` | 1.0.0
0026 | `+__convex_c2__+` | 2.0.0
0027 | `+__convex_c32__+` | 3.2.0
0028 | `+__convex_c34__+` | 3.4.0
0029 | `+__convex_c38__+` | 3.8.0
0030 |===
0031 */ // end::reference[]
0032 
0033 #define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER_NOT_AVAILABLE
0034 
0035 #if defined(__convex__)
0036 #   undef BOOST_ARCH_CONVEX
0037 #   if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c1__)
0038 #       define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(1,0,0)
0039 #   endif
0040 #   if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c2__)
0041 #       define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(2,0,0)
0042 #   endif
0043 #   if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c32__)
0044 #       define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(3,2,0)
0045 #   endif
0046 #   if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c34__)
0047 #       define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(3,4,0)
0048 #   endif
0049 #   if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c38__)
0050 #       define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(3,8,0)
0051 #   endif
0052 #   if !defined(BOOST_ARCH_CONVEX)
0053 #       define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER_AVAILABLE
0054 #   endif
0055 #endif
0056 
0057 #if BOOST_ARCH_CONVEX
0058 #   define BOOST_ARCH_CONVEX_AVAILABLE
0059 #endif
0060 
0061 #if BOOST_ARCH_CONVEX
0062 #   undef BOOST_ARCH_WORD_BITS_32
0063 #   define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0064 #endif
0065 
0066 #define BOOST_ARCH_CONVEX_NAME "Convex Computer"
0067 
0068 #endif
0069 
0070 #include <boost/predef/detail/test.h>
0071 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_CONVEX,BOOST_ARCH_CONVEX_NAME)