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

source code of include/boost/predef/hardware/simd/x86/versions.h