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_M68K_H
0009 #define BOOST_PREDEF_ARCHITECTURE_M68K_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_ARCH_M68K`
0016 
0017 http://en.wikipedia.org/wiki/M68k[Motorola 68k] architecture.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+__m68k__+` | {predef_detection}
0024 | `M68000` | {predef_detection}
0025 
0026 | `+__mc68060__+` | 6.0.0
0027 | `mc68060` | 6.0.0
0028 | `+__mc68060+` | 6.0.0
0029 | `+__mc68040__+` | 4.0.0
0030 | `mc68040` | 4.0.0
0031 | `+__mc68040+` | 4.0.0
0032 | `+__mc68030__+` | 3.0.0
0033 | `mc68030` | 3.0.0
0034 | `+__mc68030+` | 3.0.0
0035 | `+__mc68020__+` | 2.0.0
0036 | `mc68020` | 2.0.0
0037 | `+__mc68020+` | 2.0.0
0038 | `+__mc68010__+` | 1.0.0
0039 | `mc68010` | 1.0.0
0040 | `+__mc68010+` | 1.0.0
0041 | `+__mc68000__+` | 0.0.1
0042 | `mc68000` | 0.0.1
0043 | `+__mc68000+` | 0.0.1
0044 |===
0045 */ // end::reference[]
0046 
0047 #define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_NOT_AVAILABLE
0048 
0049 #if defined(__m68k__) || defined(M68000)
0050 #   undef BOOST_ARCH_M68K
0051 #   if !defined(BOOST_ARCH_M68K) && (defined(__mc68060__) || defined(mc68060) || defined(__mc68060))
0052 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(6,0,0)
0053 #   endif
0054 #   if !defined(BOOST_ARCH_M68K) && (defined(__mc68040__) || defined(mc68040) || defined(__mc68040))
0055 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(4,0,0)
0056 #   endif
0057 #   if !defined(BOOST_ARCH_M68K) && (defined(__mc68030__) || defined(mc68030) || defined(__mc68030))
0058 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(3,0,0)
0059 #   endif
0060 #   if !defined(BOOST_ARCH_M68K) && (defined(__mc68020__) || defined(mc68020) || defined(__mc68020))
0061 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(2,0,0)
0062 #   endif
0063 #   if !defined(BOOST_ARCH_M68K) && (defined(__mc68010__) || defined(mc68010) || defined(__mc68010))
0064 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER(1,0,0)
0065 #   endif
0066 #   if !defined(BOOST_ARCH_M68K) && (defined(__mc68000__) || defined(mc68000) || defined(__mc68000))
0067 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_AVAILABLE
0068 #   endif
0069 #   if !defined(BOOST_ARCH_M68K)
0070 #       define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_AVAILABLE
0071 #   endif
0072 #endif
0073 
0074 #if BOOST_ARCH_M68K
0075 #   define BOOST_ARCH_M68K_AVAILABLE
0076 #endif
0077 
0078 #if BOOST_ARCH_M68K
0079 #   undef BOOST_ARCH_WORD_BITS_32
0080 #   define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
0081 #endif
0082 
0083 #define BOOST_ARCH_M68K_NAME "Motorola 68k"
0084 
0085 #endif
0086 
0087 #include <boost/predef/detail/test.h>
0088 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_M68K,BOOST_ARCH_M68K_NAME)