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_AMD_VERSIONS_H |
10 | #define BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_VERSIONS_H |
11 | |
12 | #include <boost/predef/version_number.h> |
13 | |
14 | /* tag::reference[] |
15 | = `BOOST_HW_SIMD_X86_AMD_*_VERSION` |
16 | |
17 | Those defines represent x86 (AMD specific) SIMD extensions versions. |
18 | |
19 | NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`. |
20 | */ // end::reference[] |
21 | |
22 | |
23 | // --------------------------------- |
24 | |
25 | /* tag::reference[] |
26 | = `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION` |
27 | |
28 | https://en.wikipedia.org/wiki/SSE4##SSE4A[SSE4A] x86 extension (AMD specific). |
29 | |
30 | Version number is: *4.0.0*. |
31 | */ // end::reference[] |
32 | #define BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION BOOST_VERSION_NUMBER(4, 0, 0) |
33 | |
34 | /* tag::reference[] |
35 | = `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION` |
36 | |
37 | https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set[FMA4] x86 extension (AMD specific). |
38 | |
39 | Version number is: *5.1.0*. |
40 | */ // end::reference[] |
41 | #define BOOST_HW_SIMD_X86_AMD_FMA4_VERSION BOOST_VERSION_NUMBER(5, 1, 0) |
42 | |
43 | /* tag::reference[] |
44 | = `BOOST_HW_SIMD_X86_AMD_XOP_VERSION` |
45 | |
46 | https://en.wikipedia.org/wiki/XOP_instruction_set[XOP] x86 extension (AMD specific). |
47 | |
48 | Version number is: *5.1.1*. |
49 | */ // end::reference[] |
50 | #define BOOST_HW_SIMD_X86_AMD_XOP_VERSION BOOST_VERSION_NUMBER(5, 1, 1) |
51 | |
52 | /* tag::reference[] |
53 | |
54 | */ // end::reference[] |
55 | |
56 | #endif |
57 | |