annotate DEPENDENCIES/generic/include/boost/predef/architecture/superh.h @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@101 2 Copyright Rene Rivera 2008-2013
Chris@16 3 Distributed under the Boost Software License, Version 1.0.
Chris@16 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 */
Chris@16 7
Chris@16 8 #ifndef BOOST_PREDEF_ARCHITECTURE_SUPERH_H
Chris@16 9 #define BOOST_PREDEF_ARCHITECTURE_SUPERH_H
Chris@16 10
Chris@16 11 #include <boost/predef/version_number.h>
Chris@16 12 #include <boost/predef/make.h>
Chris@16 13
Chris@16 14 /*`
Chris@16 15 [heading `BOOST_ARCH_SH`]
Chris@16 16
Chris@16 17 [@http://en.wikipedia.org/wiki/SuperH SuperH] architecture:
Chris@16 18 If available versions \[1-5\] are specifically detected.
Chris@16 19
Chris@16 20 [table
Chris@16 21 [[__predef_symbol__] [__predef_version__]]
Chris@16 22
Chris@16 23 [[`__sh__`] [__predef_detection__]]
Chris@16 24
Chris@16 25 [[`__SH5__`] [5.0.0]]
Chris@16 26 [[`__SH4__`] [4.0.0]]
Chris@16 27 [[`__sh3__`] [3.0.0]]
Chris@16 28 [[`__SH3__`] [3.0.0]]
Chris@16 29 [[`__sh2__`] [2.0.0]]
Chris@16 30 [[`__sh1__`] [1.0.0]]
Chris@16 31 ]
Chris@16 32 */
Chris@16 33
Chris@16 34 #define BOOST_ARCH_SH BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@16 35
Chris@16 36 #if defined(__sh__)
Chris@16 37 # undef BOOST_ARCH_SH
Chris@16 38 # if !defined(BOOST_ARCH_SH) && (defined(__SH5__))
Chris@16 39 # define BOOST_ARCH_SH BOOST_VERSION_NUMBER(5,0,0)
Chris@16 40 # endif
Chris@16 41 # if !defined(BOOST_ARCH_SH) && (defined(__SH4__))
Chris@16 42 # define BOOST_ARCH_SH BOOST_VERSION_NUMBER(4,0,0)
Chris@16 43 # endif
Chris@16 44 # if !defined(BOOST_ARCH_SH) && (defined(__sh3__) || defined(__SH3__))
Chris@16 45 # define BOOST_ARCH_SH BOOST_VERSION_NUMBER(3,0,0)
Chris@16 46 # endif
Chris@16 47 # if !defined(BOOST_ARCH_SH) && (defined(__sh2__))
Chris@16 48 # define BOOST_ARCH_SH BOOST_VERSION_NUMBER(2,0,0)
Chris@16 49 # endif
Chris@16 50 # if !defined(BOOST_ARCH_SH) && (defined(__sh1__))
Chris@16 51 # define BOOST_ARCH_SH BOOST_VERSION_NUMBER(1,0,0)
Chris@16 52 # endif
Chris@16 53 # if !defined(BOOST_ARCH_SH)
Chris@16 54 # define BOOST_ARCH_SH BOOST_VERSION_NUMBER_AVAILABLE
Chris@16 55 # endif
Chris@16 56 #endif
Chris@16 57
Chris@16 58 #if BOOST_ARCH_SH
Chris@16 59 # define BOOST_ARCH_SH_AVAILABLE
Chris@16 60 #endif
Chris@16 61
Chris@16 62 #define BOOST_ARCH_SH_NAME "SuperH"
Chris@16 63
Chris@16 64 #include <boost/predef/detail/test.h>
Chris@16 65 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_SH,BOOST_ARCH_SH_NAME)
Chris@16 66
Chris@16 67
Chris@16 68 #endif