sse2.hpp 526 B

12345678910111213141516171819202122
  1. /* Copyright 2025 Joaquin M Lopez Munoz.
  2. * Distributed under the Boost Software License, Version 1.0.
  3. * (See accompanying file LICENSE_1_0.txt or copy at
  4. * http://www.boost.org/LICENSE_1_0.txt)
  5. *
  6. * See https://www.boost.org/libs/bloom for library home page.
  7. */
  8. #ifndef BOOST_BLOOM_DETAIL_SSE2_HPP
  9. #define BOOST_BLOOM_DETAIL_SSE2_HPP
  10. #if defined(__SSE2__)|| \
  11. defined(_M_X64)||(defined(_M_IX86_FP)&&_M_IX86_FP>=2)
  12. #define BOOST_BLOOM_SSE2
  13. #endif
  14. #if defined(BOOST_BLOOM_SSE2)
  15. #include <emmintrin.h>
  16. #endif
  17. #endif