1 | /* |
2 | Copyright Charly Chevalier 2015 |
3 | Copyright Joel Falcou 2015 |
4 | Distributed under the Boost Software License, Version 1.0. |
5 | (See accompanying file LICENSE_1_0.txt or copy at |
6 | http://www.boost.org/LICENSE_1_0.txt) |
7 | */ |
8 | |
9 | #ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H |
10 | #define BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H |
11 | |
12 | #include <boost/predef/version_number.h> |
13 | |
14 | /*` |
15 | Those defines represent x86 SIMD extensions versions. |
16 | |
17 | [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86`.] |
18 | */ |
19 | |
20 | // --------------------------------- |
21 | |
22 | /*` |
23 | [heading `BOOST_HW_SIMD_X86_MMX_VERSION`] |
24 | |
25 | The [@https://en.wikipedia.org/wiki/MMX_(instruction_set) MMX] x86 extension |
26 | version number. |
27 | |
28 | Version number is: *0.99.0*. |
29 | */ |
30 | #define BOOST_HW_SIMD_X86_MMX_VERSION BOOST_VERSION_NUMBER(0, 99, 0) |
31 | |
32 | /*` |
33 | [heading `BOOST_HW_SIMD_X86_SSE_VERSION`] |
34 | |
35 | The [@https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions SSE] x86 extension |
36 | version number. |
37 | |
38 | Version number is: *1.0.0*. |
39 | */ |
40 | #define BOOST_HW_SIMD_X86_SSE_VERSION BOOST_VERSION_NUMBER(1, 0, 0) |
41 | |
42 | /*` |
43 | [heading `BOOST_HW_SIMD_X86_SSE2_VERSION`] |
44 | |
45 | The [@https://en.wikipedia.org/wiki/SSE2 SSE2] x86 extension version number. |
46 | |
47 | Version number is: *2.0.0*. |
48 | */ |
49 | #define BOOST_HW_SIMD_X86_SSE2_VERSION BOOST_VERSION_NUMBER(2, 0, 0) |
50 | |
51 | /*` |
52 | [heading `BOOST_HW_SIMD_X86_SSE3_VERSION`] |
53 | |
54 | The [@https://en.wikipedia.org/wiki/SSE3 SSE3] x86 extension version number. |
55 | |
56 | Version number is: *3.0.0*. |
57 | */ |
58 | #define BOOST_HW_SIMD_X86_SSE3_VERSION BOOST_VERSION_NUMBER(3, 0, 0) |
59 | |
60 | /*` |
61 | [heading `BOOST_HW_SIMD_X86_SSSE3_VERSION`] |
62 | |
63 | The [@https://en.wikipedia.org/wiki/SSSE3 SSSE3] x86 extension version number. |
64 | |
65 | Version number is: *3.1.0*. |
66 | */ |
67 | #define BOOST_HW_SIMD_X86_SSSE3_VERSION BOOST_VERSION_NUMBER(3, 1, 0) |
68 | |
69 | /*` |
70 | [heading `BOOST_HW_SIMD_X86_SSE4_1_VERSION`] |
71 | |
72 | The [@https://en.wikipedia.org/wiki/SSE4#SSE4.1 SSE4_1] x86 extension version |
73 | number. |
74 | |
75 | Version number is: *4.1.0*. |
76 | */ |
77 | #define BOOST_HW_SIMD_X86_SSE4_1_VERSION BOOST_VERSION_NUMBER(4, 1, 0) |
78 | |
79 | /*` |
80 | [heading `BOOST_HW_SIMD_X86_SSE4_2_VERSION`] |
81 | |
82 | The [@https://en.wikipedia.org/wiki/SSE4##SSE4.2 SSE4_2] x86 extension version |
83 | number. |
84 | |
85 | Version number is: *4.2.0*. |
86 | */ |
87 | #define BOOST_HW_SIMD_X86_SSE4_2_VERSION BOOST_VERSION_NUMBER(4, 2, 0) |
88 | |
89 | /*` |
90 | [heading `BOOST_HW_SIMD_X86_AVX_VERSION`] |
91 | |
92 | The [@https://en.wikipedia.org/wiki/Advanced_Vector_Extensions AVX] x86 |
93 | extension version number. |
94 | |
95 | Version number is: *5.0.0*. |
96 | */ |
97 | #define BOOST_HW_SIMD_X86_AVX_VERSION BOOST_VERSION_NUMBER(5, 0, 0) |
98 | |
99 | /*` |
100 | [heading `BOOST_HW_SIMD_X86_FMA3_VERSION`] |
101 | |
102 | The [@https://en.wikipedia.org/wiki/FMA_instruction_set FMA3] x86 extension |
103 | version number. |
104 | |
105 | Version number is: *5.2.0*. |
106 | */ |
107 | #define BOOST_HW_SIMD_X86_FMA3_VERSION BOOST_VERSION_NUMBER(5, 2, 0) |
108 | |
109 | /*` |
110 | [heading `BOOST_HW_SIMD_X86_AVX2_VERSION`] |
111 | |
112 | The [@https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2 AVX2] |
113 | x86 extension version number. |
114 | |
115 | Version number is: *5.3.0*. |
116 | */ |
117 | #define BOOST_HW_SIMD_X86_AVX2_VERSION BOOST_VERSION_NUMBER(5, 3, 0) |
118 | |
119 | /*` |
120 | [heading `BOOST_HW_SIMD_X86_MIC_VERSION`] |
121 | |
122 | The [@https://en.wikipedia.org/wiki/Xeon_Phi MIC] (Xeon Phi) x86 extension |
123 | version number. |
124 | |
125 | Version number is: *9.0.0*. |
126 | */ |
127 | #define BOOST_HW_SIMD_X86_MIC_VERSION BOOST_VERSION_NUMBER(9, 0, 0) |
128 | |
129 | #endif |
130 | |