File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H
0010 #define BOOST_PREDEF_HARDWARE_SIMD_ARM_H
0011
0012 #include <boost/predef/version_number.h>
0013 #include <boost/predef/hardware/simd/arm/versions.h>
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 #define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
0044
0045 #undef BOOST_HW_SIMD_ARM
0046 #if !defined(BOOST_HW_SIMD_ARM) && (defined(__ARM_NEON__) || defined(__aarch64__) || defined (_M_ARM) || defined (_M_ARM64))
0047 # define BOOST_HW_SIMD_ARM BOOST_HW_SIMD_ARM_NEON_VERSION
0048 #endif
0049
0050 #if !defined(BOOST_HW_SIMD_ARM)
0051 # define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
0052 #else
0053 # define BOOST_HW_SIMD_ARM_AVAILABLE
0054 #endif
0055
0056 #define BOOST_HW_SIMD_ARM_NAME "ARM SIMD"
0057
0058 #endif
0059
0060 #include <boost/predef/detail/test.h>
0061 BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_ARM, BOOST_HW_SIMD_ARM_NAME)