mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 11:37:13 +02:00
Add default version + name for {simd,arm,ppc,x86}.h tags
This commit is contained in:
@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
#ifndef BOOST_PREDEF_HARDWARE_SIMD_H
|
#ifndef BOOST_PREDEF_HARDWARE_SIMD_H
|
||||||
#define BOOST_PREDEF_HARDWARE_SIMD_H
|
#define BOOST_PREDEF_HARDWARE_SIMD_H
|
||||||
|
|
||||||
|
#include <boost/predef/version_number.h>
|
||||||
|
|
||||||
/*`
|
/*`
|
||||||
[heading `BOOST_HW_SIMD`]
|
[heading `BOOST_HW_SIMD`]
|
||||||
|
|
||||||
@ -54,6 +56,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
#if defined(BOOST_HW_SIMD)
|
#if defined(BOOST_HW_SIMD)
|
||||||
# define BOOST_HW_SIMD_AVAILABLE
|
# define BOOST_HW_SIMD_AVAILABLE
|
||||||
|
#else
|
||||||
|
# define BOOST_HW_SIMD BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||||
|
# define BOOST_HW_SIMD_NAME "(not found)"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
#ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H
|
#ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H
|
||||||
#define BOOST_PREDEF_HARDWARE_SIMD_ARM_H
|
#define BOOST_PREDEF_HARDWARE_SIMD_ARM_H
|
||||||
|
|
||||||
|
#include <boost/predef/version_number.h>
|
||||||
|
|
||||||
/*`
|
/*`
|
||||||
[heading `BOOST_HW_SIMD_ARM`]
|
[heading `BOOST_HW_SIMD_ARM`]
|
||||||
|
|
||||||
@ -29,6 +31,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
#if defined(BOOST_HW_SIMD_ARM)
|
#if defined(BOOST_HW_SIMD_ARM)
|
||||||
# define BOOST_HW_SIMD_ARM_AVAILABLE
|
# 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
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H
|
#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H
|
||||||
#define BOOST_PREDEF_HARDWARE_SIMD_PPC_H
|
#define BOOST_PREDEF_HARDWARE_SIMD_PPC_H
|
||||||
|
|
||||||
|
#include <boost/predef/version_number.h>
|
||||||
|
|
||||||
/*`
|
/*`
|
||||||
[heading `BOOST_HW_SIMD_PPC`]
|
[heading `BOOST_HW_SIMD_PPC`]
|
||||||
|
|
||||||
@ -33,6 +35,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
#if defined(BOOST_HW_SIMD_PPC)
|
#if defined(BOOST_HW_SIMD_PPC)
|
||||||
# define BOOST_HW_SIMD_PPC_AVAILABLE
|
# 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
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_H
|
#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_H
|
||||||
#define BOOST_PREDEF_HARDWARE_SIMD_X86_H
|
#define BOOST_PREDEF_HARDWARE_SIMD_X86_H
|
||||||
|
|
||||||
|
#include <boost/predef/version_number.h>
|
||||||
|
|
||||||
/*`
|
/*`
|
||||||
[heading `BOOST_HW_SIMD_X86`]
|
[heading `BOOST_HW_SIMD_X86`]
|
||||||
|
|
||||||
@ -46,6 +48,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
#if defined(BOOST_HW_SIMD_X86)
|
#if defined(BOOST_HW_SIMD_X86)
|
||||||
# define BOOST_HW_SIMD_X86_AVAILABLE
|
# 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
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user