]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/coroutine/performance/cycle.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / coroutine / performance / cycle.hpp
1
2 // Copyright Oliver Kowalke 2009.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6
7 #ifndef CYCLE_H
8 #define CYCLE_H
9
10 // x86_64
11 // test x86_64 before i386 because icc might
12 // define __i686__ for x86_64 too
13 #if defined(__x86_64__) || defined(__x86_64) \
14 || defined(__amd64__) || defined(__amd64) \
15 || defined(_M_X64) || defined(_M_AMD64)
16 # include "cycle_x86-64.hpp"
17 // i386
18 #elif defined(i386) || defined(__i386__) || defined(__i386) \
19 || defined(__i486__) || defined(__i586__) || defined(__i686__) \
20 || defined(__X86__) || defined(_X86_) || defined(__THW_INTEL__) \
21 || defined(__I86__) || defined(__INTEL__) || defined(__IA32__) \
22 || defined(_M_IX86) || defined(_I86_)
23 # include "cycle_i386.hpp"
24 #endif
25
26 #endif // CYCLE_H