File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_H
0010 #define BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_H
0011
0012 #include <boost/predef/version_number.h>
0013 #include <boost/predef/hardware/simd/x86_amd/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
0048
0049
0050
0051
0052
0053
0054 #define BOOST_HW_SIMD_X86_AMD BOOST_VERSION_NUMBER_NOT_AVAILABLE
0055
0056
0057
0058
0059
0060 #undef BOOST_HW_SIMD_X86_AMD
0061 #if !defined(BOOST_HW_SIMD_X86_AMD) && defined(__XOP__)
0062 # define BOOST_HW_SIMD_X86_AMD BOOST_HW_SIMD_X86_AMD_XOP_VERSION
0063 #endif
0064 #if !defined(BOOST_HW_SIMD_X86_AMD) && defined(__FMA4__)
0065 # define BOOST_HW_SIMD_X86_AMD BOOST_HW_SIMD_X86_AMD_FMA4_VERSION
0066 #endif
0067 #if !defined(BOOST_HW_SIMD_X86_AMD) && defined(__SSE4A__)
0068 # define BOOST_HW_SIMD_X86_AMD BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION
0069 #endif
0070
0071 #if !defined(BOOST_HW_SIMD_X86_AMD)
0072 # define BOOST_HW_SIMD_X86_AMD BOOST_VERSION_NUMBER_NOT_AVAILABLE
0073 #else
0074
0075
0076 # include <boost/predef/hardware/simd/x86.h>
0077 # if BOOST_HW_SIMD_X86 > BOOST_HW_SIMD_X86_AMD
0078 # undef BOOST_HW_SIMD_X86_AMD
0079 # define BOOST_HW_SIMD_X86_AMD BOOST_HW_SIMD_X86
0080 # endif
0081 # define BOOST_HW_SIMD_X86_AMD_AVAILABLE
0082 #endif
0083
0084 #define BOOST_HW_SIMD_X86_AMD_NAME "x86 (AMD) SIMD"
0085
0086 #endif
0087
0088 #include <boost/predef/detail/test.h>
0089 BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_X86_AMD, BOOST_HW_SIMD_X86_AMD_NAME)