]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/predef/include/boost/predef/hardware/simd/arm.h
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / predef / include / boost / predef / hardware / simd / arm.h
CommitLineData
7c673cae
FG
1/*
2Copyright Charly Chevalier 2015
3Copyright Joel Falcou 2015
4Distributed under the Boost Software License, Version 1.0.
5(See accompanying file LICENSE_1_0.txt or copy at
6http://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>
13#include <boost/predef/hardware/simd/arm/versions.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>
57BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_ARM, BOOST_HW_SIMD_ARM_NAME)