versions.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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_X86_AMD_VERSIONS_H
  9. #define BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_VERSIONS_H
  10. #include <boost/predef/version_number.h>
  11. /*`
  12. Those defines represent x86 (AMD specific) SIMD extensions versions.
  13. [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`.]
  14. */
  15. // ---------------------------------
  16. /*`
  17. [heading `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`]
  18. [@https://en.wikipedia.org/wiki/SSE4##SSE4A SSE4A] x86 extension (AMD specific).
  19. Version number is: *4.0.0*.
  20. */
  21. #define BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION BOOST_VERSION_NUMBER(4, 0, 0)
  22. /*`
  23. [heading `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`]
  24. [@https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set FMA4] x86 extension (AMD specific).
  25. Version number is: *5.1.0*.
  26. */
  27. #define BOOST_HW_SIMD_X86_AMD_FMA4_VERSION BOOST_VERSION_NUMBER(5, 1, 0)
  28. /*`
  29. [heading `BOOST_HW_SIMD_X86_AMD_XOP_VERSION`]
  30. [@https://en.wikipedia.org/wiki/XOP_instruction_set XOP] x86 extension (AMD specific).
  31. Version number is: *5.1.1*.
  32. */
  33. #define BOOST_HW_SIMD_X86_AMD_XOP_VERSION BOOST_VERSION_NUMBER(5, 1, 1)
  34. #endif