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_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
17Those defines represent x86 (AMD specific) SIMD extensions versions.
18
19NOTE: 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
28https://en.wikipedia.org/wiki/SSE4##SSE4A[SSE4A] x86 extension (AMD specific).
29
30Version 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
37https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set[FMA4] x86 extension (AMD specific).
38
39Version 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
46https://en.wikipedia.org/wiki/XOP_instruction_set[XOP] x86 extension (AMD specific).
47
48Version 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

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