hardware/simd/arm.h
Go to the documentation of this file.
1 /*
2 Copyright Charly Chevalier 2015
3 Copyright Joel Falcou 2015
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENSE_1_0.txt or copy at
6 http://www.boost.org/LICENSE_1_0.txt)
7 */
8 
9 #ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H
10 #define BOOST_PREDEF_HARDWARE_SIMD_ARM_H
11 
12 #include <boost/predef/version_number.h>
14 
15 /*`
16  [heading `BOOST_HW_SIMD_ARM`]
17 
18  The SIMD extension for ARM (*if detected*).
19  Version number depends on the most recent detected extension.
20 
21  [table
22  [[__predef_symbol__] [__predef_version__]]
23 
24  [[`__ARM_NEON__`] [__predef_detection__]]
25  [[`__aarch64__`] [__predef_detection__]]
26  [[`_M_ARM`] [__predef_detection__]]
27  ]
28 
29  [table
30  [[__predef_symbol__] [__predef_version__]]
31 
32  [[`__ARM_NEON__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
33  [[`__aarch64__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
34  [[`_M_ARM`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
35  ]
36 
37  */
38 
39 #define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
40 
41 #undef BOOST_HW_SIMD_ARM
42 #if !defined(BOOST_HW_SIMD_ARM) && (defined(__ARM_NEON__) || defined(__aarch64__) || defined (_M_ARM))
43 # define BOOST_HW_SIMD_ARM BOOST_HW_SIMD_ARM_NEON_VERSION
44 #endif
45 
46 #if !defined(BOOST_HW_SIMD_ARM)
47 # define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
48 #else
49 # define BOOST_HW_SIMD_ARM_AVAILABLE
50 #endif
51 
52 #define BOOST_HW_SIMD_ARM_NAME "ARM SIMD"
53 
54 #endif
55 
56 #include <boost/predef/detail/test.h>
BOOST_HW_SIMD_ARM_NAME
#define BOOST_HW_SIMD_ARM_NAME
Definition: hardware/simd/arm.h:52
versions.h
BOOST_HW_SIMD_ARM
#define BOOST_HW_SIMD_ARM
Definition: hardware/simd/arm.h:47
BOOST_PREDEF_DECLARE_TEST
#define BOOST_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:36:32