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 | /*` |
15 | Those defines represent x86 (AMD specific) SIMD extensions versions. |
16 | |
17 | [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`.] |
18 | */ |
19 | |
20 | |
21 | // --------------------------------- |
22 | |
23 | /*` |
24 | [heading `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`] |
25 | |
26 | [@https://en.wikipedia.org/wiki/SSE4##SSE4A SSE4A] x86 extension (AMD specific). |
27 | |
28 | Version number is: *4.0.0*. |
29 | */ |
30 | #define BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION BOOST_VERSION_NUMBER(4, 0, 0) |
31 | |
32 | /*` |
33 | [heading `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`] |
34 | |
35 | [@https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set FMA4] x86 extension (AMD specific). |
36 | |
37 | Version number is: *5.1.0*. |
38 | */ |
39 | #define BOOST_HW_SIMD_X86_AMD_FMA4_VERSION BOOST_VERSION_NUMBER(5, 1, 0) |
40 | |
41 | /*` |
42 | [heading `BOOST_HW_SIMD_X86_AMD_XOP_VERSION`] |
43 | |
44 | [@https://en.wikipedia.org/wiki/XOP_instruction_set XOP] x86 extension (AMD specific). |
45 | |
46 | Version number is: *5.1.1*. |
47 | */ |
48 | #define BOOST_HW_SIMD_X86_AMD_XOP_VERSION BOOST_VERSION_NUMBER(5, 1, 1) |
49 | |
50 | |
51 | #endif |
52 | |