Files
boost_predef/include/boost/predef/hardware/simd/arm.h
T
Charly Chevalier 5758f35ffc Fix predef redefinition of BOOST_HW_SIMD_PPC_NAME
It was invalidly named BOOST_HW_SIMD_PPC_NAME instead of
BOOST_HW_SIMD_ARM_NAME
2015-07-15 23:14:04 +02:00

44 lines
1.1 KiB
C

/*
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)
*/
// From the newest to the oldest
#include <boost/predef/hardware/simd/arm/neon.h>
#ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H
#define BOOST_PREDEF_HARDWARE_SIMD_ARM_H
#include <boost/predef/version_number.h>
/*`
[heading `BOOST_HW_SIMD_ARM`]
The SIMD extension for ARM (if detected).
Version number depends on the detected extension.
BOOST_HW_SIMD_ARM is defined by the first detected extension.
[table
[[__predef_symbol__] [__predef_version__]]
[[`BOOST_HW_SIMD_ARM`] [__predef_detection__]]
[[`BOOST_HW_SIMD_ARM`] [V.R.P]]
]
*/
#if defined(BOOST_HW_SIMD_ARM)
# define BOOST_HW_SIMD_ARM_AVAILABLE
#else
# define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
# define BOOST_HW_SIMD_ARM_NAME "ARM SIMD"
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_ARM, BOOST_HW_SIMD_ARM_NAME)