File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H
0010 #define BOOST_PREDEF_HARDWARE_SIMD_PPC_H
0011
0012 #include <boost/predef/version_number.h>
0013 #include <boost/predef/hardware/simd/ppc/versions.h>
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 #define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0048
0049 #undef BOOST_HW_SIMD_PPC
0050 #if !defined(BOOST_HW_SIMD_PPC) && defined(__VECTOR4DOUBLE__)
0051 # define BOOST_HW_SIMD_PPC BOOST_HW_SIMD_PPC_QPX_VERSION
0052 #endif
0053 #if !defined(BOOST_HW_SIMD_PPC) && defined(__VSX__)
0054 # define BOOST_HW_SIMD_PPC BOOST_HW_SIMD_PPC_VSX_VERSION
0055 #endif
0056 #if !defined(BOOST_HW_SIMD_PPC) && (defined(__ALTIVEC__) || defined(__VEC__))
0057 # define BOOST_HW_SIMD_PPC BOOST_HW_SIMD_PPC_VMX_VERSION
0058 #endif
0059
0060 #if !defined(BOOST_HW_SIMD_PPC)
0061 # define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0062 #else
0063 # define BOOST_HW_SIMD_PPC_AVAILABLE
0064 #endif
0065
0066 #define BOOST_HW_SIMD_PPC_NAME "PPC SIMD"
0067
0068 #endif
0069
0070 #include <boost/predef/detail/test.h>
0071 BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_PPC, BOOST_HW_SIMD_PPC_NAME)