2
0
mirror of https://github.com/boostorg/predef.git synced 2026-01-19 04:22:14 +00:00

Add default version + name for {simd,arm,ppc,x86}.h tags

This commit is contained in:
Charly Chevalier
2015-07-10 16:55:50 +02:00
parent 298f2fe663
commit 5ba0a2c5ab
4 changed files with 20 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PREDEF_HARDWARE_SIMD_H
#define BOOST_PREDEF_HARDWARE_SIMD_H
#include <boost/predef/version_number.h>
/*`
[heading `BOOST_HW_SIMD`]
@@ -54,6 +56,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#if defined(BOOST_HW_SIMD)
# define BOOST_HW_SIMD_AVAILABLE
#else
# define BOOST_HW_SIMD BOOST_VERSION_NUMBER_NOT_AVAILABLE
# define BOOST_HW_SIMD_NAME "(not found)"
#endif
#endif

View File

@@ -9,6 +9,8 @@ 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>
/*`
[heading `BOOST_HW_SIMD_ARM`]
@@ -29,6 +31,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#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 "(not found)"
#endif
#endif

View File

@@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H
#define BOOST_PREDEF_HARDWARE_SIMD_PPC_H
#include <boost/predef/version_number.h>
/*`
[heading `BOOST_HW_SIMD_PPC`]
@@ -33,6 +35,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#if defined(BOOST_HW_SIMD_PPC)
# define BOOST_HW_SIMD_PPC_AVAILABLE
#else
# define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE
# define BOOST_HW_SIMD_PPC_NAME "(not found)"
#endif
#endif

View File

@@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_H
#define BOOST_PREDEF_HARDWARE_SIMD_X86_H
#include <boost/predef/version_number.h>
/*`
[heading `BOOST_HW_SIMD_X86`]
@@ -46,6 +48,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#if defined(BOOST_HW_SIMD_X86)
# define BOOST_HW_SIMD_X86_AVAILABLE
#else
# define BOOST_HW_SIMD_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE
# define BOOST_HW_SIMD_X86_NAME "(not found)"
#endif
#endif