]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/architecture/blackfin.h
2 Copyright Rene Rivera 2013-2015
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)
8 #ifndef BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H
9 #define BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
15 = `BOOST_ARCH_BLACKFIN`
17 Blackfin Processors from Analog Devices.
21 | {predef_symbol} | {predef_version}
23 | `+__bfin__+` | {predef_detection}
24 | `+__BFIN__+` | {predef_detection}
25 | `bfin` | {predef_detection}
26 | `BFIN` | {predef_detection}
28 */ // end::reference[]
30 #define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 #if defined(__bfin__) || defined(__BFIN__) || \
33 defined(bfin) || defined(BFIN)
34 # undef BOOST_ARCH_BLACKFIN
35 # define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_AVAILABLE
38 #if BOOST_ARCH_BLACKFIN
39 # define BOOST_ARCH_BLACKFIN_AVAILABLE
42 #if BOOST_ARCH_BLACKFIN
43 # undef BOOST_ARCH_WORD_BITS_16
44 # define BOOST_ARCH_WORD_BITS_16 BOOST_VERSION_NUMBER_AVAILABLE
47 #define BOOST_ARCH_BLACKFIN_NAME "Blackfin"
51 #include <boost/predef/detail/test.h>
52 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_BLACKFIN
,BOOST_ARCH_BLACKFIN_NAME
)