Warning, file /include/boost/uuid/detail/config.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef BOOST_UUID_DETAIL_CONFIG_HPP_INCLUDED_
0014 #define BOOST_UUID_DETAIL_CONFIG_HPP_INCLUDED_
0015
0016 #include <boost/config.hpp>
0017
0018 #ifdef BOOST_HAS_PRAGMA_ONCE
0019 #pragma once
0020 #endif
0021
0022 #if !defined(BOOST_UUID_NO_SIMD)
0023
0024 #if defined(__GNUC__) && defined(__SSE2__)
0025
0026
0027 #ifndef BOOST_UUID_USE_SSE2
0028 #define BOOST_UUID_USE_SSE2
0029 #endif
0030
0031 #if defined(__SSE3__) && !defined(BOOST_UUID_USE_SSE3)
0032 #define BOOST_UUID_USE_SSE3
0033 #endif
0034
0035 #if defined(__SSE4_1__) && !defined(BOOST_UUID_USE_SSE41)
0036 #define BOOST_UUID_USE_SSE41
0037 #endif
0038
0039 #if defined(__AVX__) && !defined(BOOST_UUID_USE_AVX)
0040 #define BOOST_UUID_USE_AVX
0041 #endif
0042
0043 #if ((defined(__AVX512F__) && defined(__AVX512VL__) && defined(__AVX512BW__)) || defined(__AVX10_1__)) && !defined(BOOST_UUID_USE_AVX10_1)
0044 #define BOOST_UUID_USE_AVX10_1
0045 #endif
0046
0047 #elif defined(_MSC_VER)
0048
0049 #if (defined(_M_X64) || (defined(_M_IX86) && defined(_M_IX86_FP) && _M_IX86_FP >= 2)) && !defined(BOOST_UUID_USE_SSE2)
0050 #define BOOST_UUID_USE_SSE2
0051 #endif
0052
0053 #if defined(__AVX__) && !defined(BOOST_UUID_USE_AVX)
0054 #define BOOST_UUID_USE_AVX
0055 #endif
0056
0057 #if ((defined(__AVX512F__) && defined(__AVX512VL__) && defined(__AVX512BW__)) || defined(__AVX10_1__)) && !defined(BOOST_UUID_USE_AVX10_1)
0058 #define BOOST_UUID_USE_AVX10_1
0059 #endif
0060
0061 #endif
0062
0063
0064 #if !defined(BOOST_UUID_USE_AVX) && defined(BOOST_UUID_USE_AVX10_1)
0065 #define BOOST_UUID_USE_AVX
0066 #endif
0067
0068 #if !defined(BOOST_UUID_USE_SSE41) && defined(BOOST_UUID_USE_AVX)
0069 #define BOOST_UUID_USE_SSE41
0070 #endif
0071
0072 #if !defined(BOOST_UUID_USE_SSE3) && defined(BOOST_UUID_USE_SSE41)
0073 #define BOOST_UUID_USE_SSE3
0074 #endif
0075
0076 #if !defined(BOOST_UUID_USE_SSE2) && defined(BOOST_UUID_USE_SSE3)
0077 #define BOOST_UUID_USE_SSE2
0078 #endif
0079
0080 #if !defined(BOOST_UUID_NO_SIMD) && \
0081 !defined(BOOST_UUID_USE_AVX10_1) && \
0082 !defined(BOOST_UUID_USE_AVX) && \
0083 !defined(BOOST_UUID_USE_SSE41) && \
0084 !defined(BOOST_UUID_USE_SSE3) && \
0085 !defined(BOOST_UUID_USE_SSE2)
0086 #define BOOST_UUID_NO_SIMD
0087 #endif
0088
0089 #endif
0090
0091 #endif