mirror of
https://github.com/boostorg/predef.git
synced 2025-07-30 19:57:14 +02:00
Add doc + _AVAILABLE for simd/ppc.h
This commit is contained in:
@ -9,9 +9,30 @@ 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
|
||||||
|
|
||||||
// from the newest to the oldest
|
/*`
|
||||||
|
[heading `BOOST_HW_SIMD_PPC`]
|
||||||
|
|
||||||
|
The SIMD extension for x86 (if detected).
|
||||||
|
Version number depends on the detected extension.
|
||||||
|
|
||||||
|
BOOST_HW_SIMD_PPC is defined by the first detected extension. They are
|
||||||
|
checked from the newest to the oldest. (QPX -> VSX -> VMX)
|
||||||
|
|
||||||
|
[table
|
||||||
|
[[__predef_symbol__] [__predef_version__]]
|
||||||
|
|
||||||
|
[[`BOOST_HW_SIMD_PPC`] [__predef_detection__]]
|
||||||
|
[[`BOOST_HW_SIMD_PPC`] [V.R.P]]
|
||||||
|
]
|
||||||
|
*/
|
||||||
|
|
||||||
|
// From the newest to the oldest
|
||||||
#include <boost/predef/hardware/simd/ppc/qpx.h>
|
#include <boost/predef/hardware/simd/ppc/qpx.h>
|
||||||
#include <boost/predef/hardware/simd/ppc/vsx.h>
|
#include <boost/predef/hardware/simd/ppc/vsx.h>
|
||||||
#include <boost/predef/hardware/simd/ppc/vmx.h>
|
#include <boost/predef/hardware/simd/ppc/vmx.h>
|
||||||
|
|
||||||
|
#if defined(BOOST_HW_SIMD_PPC)
|
||||||
|
# define BOOST_HW_SIMD_PPC_AVAILABLE
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user