versions.h 1.4 KB

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