Sha256: 95e746c7ef4792c227e8d5dc18cdef9593435f842fcae1621be8e8a150a4ea80

Contents?: true

Size: 1.37 KB

Versions: 13

Compression:

Stored size: 1.37 KB

Contents

/*
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE_1_0.txt or copy at
 * http://www.boost.org/LICENSE_1_0.txt)
 *
 * Copyright (c) 2009 Helge Bahmann
 * Copyright (c) 2013 Tim Blechmann
 * Copyright (c) 2012 - 2014 Andrey Semashev
 */
/*!
 * \file   atomic/detail/caps_msvc_x86.hpp
 *
 * This header defines feature capabilities macros
 */

#ifndef BOOST_ATOMIC_DETAIL_CAPS_MSVC_X86_HPP_INCLUDED_
#define BOOST_ATOMIC_DETAIL_CAPS_MSVC_X86_HPP_INCLUDED_

#include <boost/atomic/detail/config.hpp>

#ifdef BOOST_HAS_PRAGMA_ONCE
#pragma once
#endif

#if defined(_M_IX86) && _M_IX86 >= 500
#define BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG8B 1
#endif

#if _MSC_VER >= 1500 && defined(_M_AMD64) && !defined(BOOST_ATOMIC_NO_CMPXCHG16B)
#define BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B 1
#endif

#define BOOST_ATOMIC_INT8_LOCK_FREE 2
#define BOOST_ATOMIC_INT16_LOCK_FREE 2
#define BOOST_ATOMIC_INT32_LOCK_FREE 2

#if defined(_M_AMD64) || defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG8B)
#define BOOST_ATOMIC_INT64_LOCK_FREE 2
#endif

#if defined(BOOST_ATOMIC_DETAIL_X86_HAS_CMPXCHG16B) && (defined(BOOST_HAS_INT128) || !defined(BOOST_NO_ALIGNMENT))
#define BOOST_ATOMIC_INT128_LOCK_FREE 2
#endif

#define BOOST_ATOMIC_POINTER_LOCK_FREE 2

#define BOOST_ATOMIC_THREAD_FENCE 2
#define BOOST_ATOMIC_SIGNAL_FENCE 2

#endif // BOOST_ATOMIC_DETAIL_CAPS_MSVC_X86_HPP_INCLUDED_

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
passenger-5.1.4 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.1.3 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.1.2 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.1.1 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.1.0 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.0.30 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.0.29 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/passenger-5.0.28/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.0.28 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.0.27 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.0.26 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
passenger-5.0.25 src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp
buncher-1.0.5 ext/boost/1.57.0/include/boost//atomic/detail/caps_msvc_x86.hpp