diff options
Diffstat (limited to '3rdParty/Boost/src/boost/predef/architecture/x86')
| -rw-r--r-- | 3rdParty/Boost/src/boost/predef/architecture/x86/32.h | 87 | ||||
| -rw-r--r-- | 3rdParty/Boost/src/boost/predef/architecture/x86/64.h | 50 | 
2 files changed, 137 insertions, 0 deletions
| diff --git a/3rdParty/Boost/src/boost/predef/architecture/x86/32.h b/3rdParty/Boost/src/boost/predef/architecture/x86/32.h new file mode 100644 index 0000000..b796f84 --- /dev/null +++ b/3rdParty/Boost/src/boost/predef/architecture/x86/32.h @@ -0,0 +1,87 @@ +/* +Copyright Rene Rivera 2008-2013 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_ARCHITECTURE_X86_32_H +#define BOOST_PREDEF_ARCHITECTURE_X86_32_H + +#include <boost/predef/version_number.h> +#include <boost/predef/make.h> + +/*` +[heading `BOOST_ARCH_X86_32`] + +[@http://en.wikipedia.org/wiki/X86 Intel x86] architecture: +If available versions \[3-6\] are specifically detected. + +[table +    [[__predef_symbol__] [__predef_version__]] + +    [[`i386`] [__predef_detection__]] +    [[`__i386__`] [__predef_detection__]] +    [[`__i486__`] [__predef_detection__]] +    [[`__i586__`] [__predef_detection__]] +    [[`__i686__`] [__predef_detection__]] +    [[`__i386`] [__predef_detection__]] +    [[`_M_IX86`] [__predef_detection__]] +    [[`_X86_`] [__predef_detection__]] +    [[`__THW_INTEL__`] [__predef_detection__]] +    [[`__I86__`] [__predef_detection__]] +    [[`__INTEL__`] [__predef_detection__]] + +    [[`__I86__`] [V.0.0]] +    [[`_M_IX86`] [V.0.0]] +    [[`__i686__`] [6.0.0]] +    [[`__i586__`] [5.0.0]] +    [[`__i486__`] [4.0.0]] +    [[`__i386__`] [3.0.0]] +    ] + */ + +#define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER_NOT_AVAILABLE + +#if defined(i386) || defined(__i386__) || \ +    defined(__i486__) || defined(__i586__) || \ +    defined(__i686__) || defined(__i386) || \ +    defined(_M_IX86) || defined(_X86_) || \ +    defined(__THW_INTEL__) || defined(__I86__) || \ +    defined(__INTEL__) +#   undef BOOST_ARCH_X86_32 +#   if !defined(BOOST_ARCH_X86_32) && defined(__I86__) +#       define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER(__I86__,0,0) +#   endif +#   if !defined(BOOST_ARCH_X86_32) && defined(_M_IX86) +#       define BOOST_ARCH_X86_32 BOOST_PREDEF_MAKE_10_VV00(_M_IX86) +#   endif +#   if !defined(BOOST_ARCH_X86_32) && defined(__i686__) +#       define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER(6,0,0) +#   endif +#   if !defined(BOOST_ARCH_X86_32) && defined(__i586__) +#       define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER(5,0,0) +#   endif +#   if !defined(BOOST_ARCH_X86_32) && defined(__i486__) +#       define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER(4,0,0) +#   endif +#   if !defined(BOOST_ARCH_X86_32) && defined(__i386__) +#       define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER(3,0,0) +#   endif +#   if !defined(BOOST_ARCH_X86_32) +#       define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER_AVAILABLE +#   endif +#endif + +#if BOOST_ARCH_X86_32 +#   define BOOST_ARCH_X86_32_AVAILABLE +#endif + +#define BOOST_ARCH_X86_32_NAME "Intel x86-32" + +#include <boost/predef/detail/test.h> +BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86_32,BOOST_ARCH_X86_32_NAME) + +#include <boost/predef/architecture/x86.h> + +#endif diff --git a/3rdParty/Boost/src/boost/predef/architecture/x86/64.h b/3rdParty/Boost/src/boost/predef/architecture/x86/64.h new file mode 100644 index 0000000..a035c88 --- /dev/null +++ b/3rdParty/Boost/src/boost/predef/architecture/x86/64.h @@ -0,0 +1,50 @@ +/* +Copyright Rene Rivera 2008-2013 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_ARCHITECTURE_X86_64_H +#define BOOST_PREDEF_ARCHITECTURE_X86_64_H + +#include <boost/predef/version_number.h> +#include <boost/predef/make.h> + +/*` +[heading `BOOST_ARCH_X86_64`] + +[@http://en.wikipedia.org/wiki/Ia64 Intel IA-64] architecture. + +[table +    [[__predef_symbol__] [__predef_version__]] + +    [[`__x86_64`] [__predef_detection__]] +    [[`__x86_64__`] [__predef_detection__]] +    [[`__amd64__`] [__predef_detection__]] +    [[`__amd64`] [__predef_detection__]] +    [[`_M_X64`] [__predef_detection__]] +    ] + */ + +#define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE + +#if defined(__x86_64) || defined(__x86_64__) || \ +    defined(__amd64__) || defined(__amd64) || \ +    defined(_M_X64) +#   undef BOOST_ARCH_X86_64 +#   define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_AVAILABLE +#endif + +#if BOOST_ARCH_X86_64 +#   define BOOST_ARCH_X86_64_AVAILABLE +#endif + +#define BOOST_ARCH_X86_64_NAME "Intel x86-64" + +#include <boost/predef/detail/test.h> +BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86_64,BOOST_ARCH_X86_64_NAME) + +#include <boost/predef/architecture/x86.h> + +#endif | 
 Swift
 Swift