Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Charly Chevalier 2015
0003 Copyright Joel Falcou 2015
0004 Distributed under the Boost Software License, Version 1.0.
0005 (See accompanying file LICENSE_1_0.txt or copy at
0006 http://www.boost.org/LICENSE_1_0.txt)
0007 */
0008 
0009 #ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H
0010 #define BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H
0011 
0012 #include <boost/predef/version_number.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_HW_SIMD_X86_*_VERSION`
0016 
0017 Those defines represent x86 SIMD extensions versions.
0018 
0019 NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_X86`.
0020 */ // end::reference[]
0021 
0022 // ---------------------------------
0023 
0024 /* tag::reference[]
0025 = `BOOST_HW_SIMD_X86_MMX_VERSION`
0026 
0027 The https://en.wikipedia.org/wiki/MMX_(instruction_set)[MMX] x86 extension
0028 version number.
0029 
0030 Version number is: *0.99.0*.
0031 */ // end::reference[]
0032 #define BOOST_HW_SIMD_X86_MMX_VERSION BOOST_VERSION_NUMBER(0, 99, 0)
0033 
0034 /* tag::reference[]
0035 = `BOOST_HW_SIMD_X86_SSE_VERSION`
0036 
0037 The https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions[SSE] x86 extension
0038 version number.
0039 
0040 Version number is: *1.0.0*.
0041 */ // end::reference[]
0042 #define BOOST_HW_SIMD_X86_SSE_VERSION BOOST_VERSION_NUMBER(1, 0, 0)
0043 
0044 /* tag::reference[]
0045 = `BOOST_HW_SIMD_X86_SSE2_VERSION`
0046 
0047 The https://en.wikipedia.org/wiki/SSE2[SSE2] x86 extension version number.
0048 
0049 Version number is: *2.0.0*.
0050 */ // end::reference[]
0051 #define BOOST_HW_SIMD_X86_SSE2_VERSION BOOST_VERSION_NUMBER(2, 0, 0)
0052 
0053 /* tag::reference[]
0054 = `BOOST_HW_SIMD_X86_SSE3_VERSION`
0055 
0056 The https://en.wikipedia.org/wiki/SSE3[SSE3] x86 extension version number.
0057 
0058 Version number is: *3.0.0*.
0059 */ // end::reference[]
0060 #define BOOST_HW_SIMD_X86_SSE3_VERSION BOOST_VERSION_NUMBER(3, 0, 0)
0061 
0062 /* tag::reference[]
0063 = `BOOST_HW_SIMD_X86_SSSE3_VERSION`
0064 
0065 The https://en.wikipedia.org/wiki/SSSE3[SSSE3] x86 extension version number.
0066 
0067 Version number is: *3.1.0*.
0068 */ // end::reference[]
0069 #define BOOST_HW_SIMD_X86_SSSE3_VERSION BOOST_VERSION_NUMBER(3, 1, 0)
0070 
0071 /* tag::reference[]
0072 = `BOOST_HW_SIMD_X86_SSE4_1_VERSION`
0073 
0074 The https://en.wikipedia.org/wiki/SSE4#SSE4.1[SSE4_1] x86 extension version
0075 number.
0076 
0077 Version number is: *4.1.0*.
0078 */ // end::reference[]
0079 #define BOOST_HW_SIMD_X86_SSE4_1_VERSION BOOST_VERSION_NUMBER(4, 1, 0)
0080 
0081 /* tag::reference[]
0082 = `BOOST_HW_SIMD_X86_SSE4_2_VERSION`
0083 
0084 The https://en.wikipedia.org/wiki/SSE4##SSE4.2[SSE4_2] x86 extension version
0085 number.
0086 
0087 Version number is: *4.2.0*.
0088 */ // end::reference[]
0089 #define BOOST_HW_SIMD_X86_SSE4_2_VERSION BOOST_VERSION_NUMBER(4, 2, 0)
0090 
0091 /* tag::reference[]
0092 = `BOOST_HW_SIMD_X86_AVX_VERSION`
0093 
0094 The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions[AVX] x86
0095 extension version number.
0096 
0097 Version number is: *5.0.0*.
0098 */ // end::reference[]
0099 #define BOOST_HW_SIMD_X86_AVX_VERSION BOOST_VERSION_NUMBER(5, 0, 0)
0100 
0101 /* tag::reference[]
0102 = `BOOST_HW_SIMD_X86_FMA3_VERSION`
0103 
0104 The https://en.wikipedia.org/wiki/FMA_instruction_set[FMA3] x86 extension
0105 version number.
0106 
0107 Version number is: *5.2.0*.
0108 */ // end::reference[]
0109 #define BOOST_HW_SIMD_X86_FMA3_VERSION BOOST_VERSION_NUMBER(5, 2, 0)
0110 
0111 /* tag::reference[]
0112 = `BOOST_HW_SIMD_X86_AVX2_VERSION`
0113 
0114 The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2[AVX2]
0115 x86 extension version number.
0116 
0117 Version number is: *5.3.0*.
0118 */ // end::reference[]
0119 #define BOOST_HW_SIMD_X86_AVX2_VERSION BOOST_VERSION_NUMBER(5, 3, 0)
0120 
0121 /* tag::reference[]
0122 = `BOOST_HW_SIMD_X86_MIC_VERSION`
0123 
0124 The https://en.wikipedia.org/wiki/Xeon_Phi[MIC] (Xeon Phi) x86 extension
0125 version number.
0126 
0127 Version number is: *9.0.0*.
0128 */ // end::reference[]
0129 #define BOOST_HW_SIMD_X86_MIC_VERSION BOOST_VERSION_NUMBER(9, 0, 0)
0130 
0131 /* tag::reference[]
0132 
0133 */ // end::reference[]
0134 
0135 #endif