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_PARISC_H
0009 #define BOOST_PREDEF_ARCHITECTURE_PARISC_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_ARCH_PARISC`
0016 
0017 http://en.wikipedia.org/wiki/PA-RISC_family[HP/PA RISC] architecture.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+__hppa__+` | {predef_detection}
0024 | `+__hppa+` | {predef_detection}
0025 | `+__HPPA__+` | {predef_detection}
0026 
0027 | `+_PA_RISC1_0+` | 1.0.0
0028 | `+_PA_RISC1_1+` | 1.1.0
0029 | `+__HPPA11__+` | 1.1.0
0030 | `+__PA7100__+` | 1.1.0
0031 | `+_PA_RISC2_0+` | 2.0.0
0032 | `+__RISC2_0__+` | 2.0.0
0033 | `+__HPPA20__+` | 2.0.0
0034 | `+__PA8000__+` | 2.0.0
0035 |===
0036 */ // end::reference[]
0037 
0038 #define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0039 
0040 #if defined(__hppa__) || defined(__hppa) || defined(__HPPA__)
0041 #   undef BOOST_ARCH_PARISC
0042 #   if !defined(BOOST_ARCH_PARISC) && (defined(_PA_RISC1_0))
0043 #       define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(1,0,0)
0044 #   endif
0045 #   if !defined(BOOST_ARCH_PARISC) && (defined(_PA_RISC1_1) || defined(__HPPA11__) || defined(__PA7100__))
0046 #       define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(1,1,0)
0047 #   endif
0048 #   if !defined(BOOST_ARCH_PARISC) && (defined(_PA_RISC2_0) || defined(__RISC2_0__) || defined(__HPPA20__) || defined(__PA8000__))
0049 #       define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(2,0,0)
0050 #   endif
0051 #   if !defined(BOOST_ARCH_PARISC)
0052 #       define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER_AVAILABLE
0053 #   endif
0054 #endif
0055 
0056 #if BOOST_ARCH_PARISC
0057 #   define BOOST_ARCH_PARISC_AVAILABLE
0058 #endif
0059 
0060 #if BOOST_ARCH_PARISC
0061 #   undef BOOST_ARCH_WORD_BITS_32
0062 #   define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0063 #endif
0064 
0065 #define BOOST_ARCH_PARISC_NAME "HP/PA RISC"
0066 
0067 #endif
0068 
0069 #include <boost/predef/detail/test.h>
0070 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PARISC,BOOST_ARCH_PARISC_NAME)