Sha256: 824e1ae030db998b529773cd9411928288b7b74a27af34b58c96ba19579f93ff

Contents?: true

Size: 1.61 KB

Versions: 17

Compression:

Stored size: 1.61 KB

Contents

/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 2015
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_HARDWARE_SIMD_ARM_H
#define BOOST_PREDEF_HARDWARE_SIMD_ARM_H

#include <boost/predef/version_number.h>
#include <boost/predef/hardware/simd/arm/versions.h>

/*`
 [heading `BOOST_HW_SIMD_ARM`]

 The SIMD extension for ARM (*if detected*).
 Version number depends on the most recent detected extension.

 [table
     [[__predef_symbol__] [__predef_version__]]

     [[`__ARM_NEON__`] [__predef_detection__]]
     [[`__aarch64__`] [__predef_detection__]]
     [[`_M_ARM`] [__predef_detection__]]
     [[`_M_ARM64`] [__predef_detection__]]
     ]

 [table
     [[__predef_symbol__] [__predef_version__]]

     [[`__ARM_NEON__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
     [[`__aarch64__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
     [[`_M_ARM`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
     [[`_M_ARM64`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
     ]

 */

#define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE

#undef BOOST_HW_SIMD_ARM
#if !defined(BOOST_HW_SIMD_ARM) && (defined(__ARM_NEON__) || defined(__aarch64__) || defined (_M_ARM) || defined (_M_ARM64))
#   define BOOST_HW_SIMD_ARM BOOST_HW_SIMD_ARM_NEON_VERSION
#endif

#if !defined(BOOST_HW_SIMD_ARM)
#   define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
#else
#   define BOOST_HW_SIMD_ARM_AVAILABLE
#endif

#define BOOST_HW_SIMD_ARM_NAME "ARM SIMD"

#endif

#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_ARM, BOOST_HW_SIMD_ARM_NAME)

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
script_core-0.2.1 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h
script_core-0.2.0 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
script_core-0.1.1 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h
script_core-0.1.0 ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-6.0.0 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-5.3.7 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-5.3.6 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-5.3.5 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h
passenger-5.3.4 src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h