versions.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. /* tag::reference[]
  12. = `BOOST_HW_SIMD_X86_AMD_*_VERSION`
  13. Those defines represent x86 (AMD specific) SIMD extensions versions.
  14. NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`.
  15. */ // end::reference[]
  16. // ---------------------------------
  17. /* tag::reference[]
  18. = `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`
  19. https://en.wikipedia.org/wiki/SSE4##SSE4A[SSE4A] x86 extension (AMD specific).
  20. Version number is: *4.0.0*.
  21. */ // end::reference[]
  22. #define BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION BOOST_VERSION_NUMBER(4, 0, 0)
  23. /* tag::reference[]
  24. = `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`
  25. https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set[FMA4] x86 extension (AMD specific).
  26. Version number is: *5.1.0*.
  27. */ // end::reference[]
  28. #define BOOST_HW_SIMD_X86_AMD_FMA4_VERSION BOOST_VERSION_NUMBER(5, 1, 0)
  29. /* tag::reference[]
  30. = `BOOST_HW_SIMD_X86_AMD_XOP_VERSION`
  31. https://en.wikipedia.org/wiki/XOP_instruction_set[XOP] x86 extension (AMD specific).
  32. Version number is: *5.1.1*.
  33. */ // end::reference[]
  34. #define BOOST_HW_SIMD_X86_AMD_XOP_VERSION BOOST_VERSION_NUMBER(5, 1, 1)
  35. /* tag::reference[]
  36. */ // end::reference[]
  37. #endif