| 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_PPC_VERSIONS_H |
| 10 | #define BOOST_PREDEF_HARDWARE_SIMD_PPC_VERSIONS_H |
| 11 | |
| 12 | #include <boost/predef/version_number.h> |
| 13 | |
| 14 | /* tag::reference[] |
| 15 | = `BOOST_HW_SIMD_PPC_*_VERSION` |
| 16 | |
| 17 | Those defines represent Power PC SIMD extensions versions. |
| 18 | |
| 19 | NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_PPC`. |
| 20 | */ // end::reference[] |
| 21 | |
| 22 | // --------------------------------- |
| 23 | |
| 24 | /* tag::reference[] |
| 25 | = `BOOST_HW_SIMD_PPC_VMX_VERSION` |
| 26 | |
| 27 | The https://en.wikipedia.org/wiki/AltiVec#VMX128[VMX] powerpc extension |
| 28 | version number. |
| 29 | |
| 30 | Version number is: *1.0.0*. |
| 31 | */ // end::reference[] |
| 32 | #define BOOST_HW_SIMD_PPC_VMX_VERSION BOOST_VERSION_NUMBER(1, 0, 0) |
| 33 | |
| 34 | /* tag::reference[] |
| 35 | = `BOOST_HW_SIMD_PPC_VSX_VERSION` |
| 36 | |
| 37 | The https://en.wikipedia.org/wiki/AltiVec#VSX[VSX] powerpc extension version |
| 38 | number. |
| 39 | |
| 40 | Version number is: *1.1.0*. |
| 41 | */ // end::reference[] |
| 42 | #define BOOST_HW_SIMD_PPC_VSX_VERSION BOOST_VERSION_NUMBER(1, 1, 0) |
| 43 | |
| 44 | /* tag::reference[] |
| 45 | = `BOOST_HW_SIMD_PPC_QPX_VERSION` |
| 46 | |
| 47 | The QPX powerpc extension version number. |
| 48 | |
| 49 | Version number is: *2.0.0*. |
| 50 | */ // end::reference[] |
| 51 | #define BOOST_HW_SIMD_PPC_QPX_VERSION BOOST_VERSION_NUMBER(2, 0, 0) |
| 52 | |
| 53 | /* tag::reference[] |
| 54 | |
| 55 | */ // end::reference[] |
| 56 | |
| 57 | #endif |
| 58 | |