3 #ifndef __CDS_COMPILER_BACKOFF_IMPL_H
4 #define __CDS_COMPILER_BACKOFF_IMPL_H
6 #include <cds/details/defs.h>
8 #if CDS_COMPILER == CDS_COMPILER_MSVC || (CDS_COMPILER == CDS_COMPILER_INTEL && CDS_OS_INTERFACE == CDS_OSI_WINDOWS)
9 # if CDS_PROCESSOR_ARCH == CDS_PROCESSOR_X86
10 # include <cds/compiler/vc/x86/backoff.h>
11 # elif CDS_PROCESSOR_ARCH == CDS_PROCESSOR_AMD64
12 # include <cds/compiler/vc/amd64/backoff.h>
14 # error "MS VC++ compiler: unsupported processor architecture"
16 #elif CDS_COMPILER == CDS_COMPILER_GCC || CDS_COMPILER == CDS_COMPILER_CLANG || CDS_COMPILER == CDS_COMPILER_INTEL
17 # if CDS_PROCESSOR_ARCH == CDS_PROCESSOR_X86
18 # include <cds/compiler/gcc/x86/backoff.h>
19 # elif CDS_PROCESSOR_ARCH == CDS_PROCESSOR_AMD64
20 # include <cds/compiler/gcc/amd64/backoff.h>
21 # elif CDS_PROCESSOR_ARCH == CDS_PROCESSOR_IA64
22 # include <cds/compiler/gcc/ia64/backoff.h>
23 # elif CDS_PROCESSOR_ARCH == CDS_PROCESSOR_SPARC
24 # include <cds/compiler/gcc/sparc/backoff.h>
25 # elif CDS_PROCESSOR_ARCH == CDS_PROCESSOR_PPC64
26 # include <cds/compiler/gcc/ppc64/backoff.h>
27 //# elif CDS_PROCESSOR_ARCH == CDS_PROCESSOR_ARM7
28 //# include <cds/compiler/gcc/arm7/backoff.h>
31 # error "Undefined compiler"
34 #endif // #ifndef __CDS_COMPILER_BACKOFF_IMPL_H