123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- /*
- Copyright Charly Chevalier 2015
- Copyright Joel Falcou 2015
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- */
- #ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H
- #define BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H
- #include <boost/predef/version_number.h>
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_*_VERSION`
- Those defines represent x86 SIMD extensions versions.
- NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_X86`.
- */ // end::reference[]
- // ---------------------------------
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_MMX_VERSION`
- The https://en.wikipedia.org/wiki/MMX_(instruction_set)[MMX] x86 extension
- version number.
- Version number is: *0.99.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_MMX_VERSION BOOST_VERSION_NUMBER(0, 99, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_SSE_VERSION`
- The https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions[SSE] x86 extension
- version number.
- Version number is: *1.0.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_SSE_VERSION BOOST_VERSION_NUMBER(1, 0, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_SSE2_VERSION`
- The https://en.wikipedia.org/wiki/SSE2[SSE2] x86 extension version number.
- Version number is: *2.0.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_SSE2_VERSION BOOST_VERSION_NUMBER(2, 0, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_SSE3_VERSION`
- The https://en.wikipedia.org/wiki/SSE3[SSE3] x86 extension version number.
- Version number is: *3.0.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_SSE3_VERSION BOOST_VERSION_NUMBER(3, 0, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_SSSE3_VERSION`
- The https://en.wikipedia.org/wiki/SSSE3[SSSE3] x86 extension version number.
- Version number is: *3.1.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_SSSE3_VERSION BOOST_VERSION_NUMBER(3, 1, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_SSE4_1_VERSION`
- The https://en.wikipedia.org/wiki/SSE4#SSE4.1[SSE4_1] x86 extension version
- number.
- Version number is: *4.1.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_SSE4_1_VERSION BOOST_VERSION_NUMBER(4, 1, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_SSE4_2_VERSION`
- The https://en.wikipedia.org/wiki/SSE4##SSE4.2[SSE4_2] x86 extension version
- number.
- Version number is: *4.2.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_SSE4_2_VERSION BOOST_VERSION_NUMBER(4, 2, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_AVX_VERSION`
- The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions[AVX] x86
- extension version number.
- Version number is: *5.0.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_AVX_VERSION BOOST_VERSION_NUMBER(5, 0, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_FMA3_VERSION`
- The https://en.wikipedia.org/wiki/FMA_instruction_set[FMA3] x86 extension
- version number.
- Version number is: *5.2.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_FMA3_VERSION BOOST_VERSION_NUMBER(5, 2, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_AVX2_VERSION`
- The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2[AVX2]
- x86 extension version number.
- Version number is: *5.3.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_AVX2_VERSION BOOST_VERSION_NUMBER(5, 3, 0)
- /* tag::reference[]
- = `BOOST_HW_SIMD_X86_MIC_VERSION`
- The https://en.wikipedia.org/wiki/Xeon_Phi[MIC] (Xeon Phi) x86 extension
- version number.
- Version number is: *9.0.0*.
- */ // end::reference[]
- #define BOOST_HW_SIMD_X86_MIC_VERSION BOOST_VERSION_NUMBER(9, 0, 0)
- /* tag::reference[]
- */ // end::reference[]
- #endif
|