|
@ -5,7 +5,7 @@ |
|
|
# define cpu_relax() asm volatile ("nop" ::: "memory"); |
|
|
# define cpu_relax() asm volatile ("nop" ::: "memory"); |
|
|
# endif |
|
|
# endif |
|
|
-#elif BOOST_ARCH_MIPS && (__mips_isa_rev > 1)
|
|
|
-#elif BOOST_ARCH_MIPS && (__mips_isa_rev > 1)
|
|
|
+#elif BOOST_ARCH_MIPS && (__mips_isa_rev > 1) && !defined(_MIPS_ARCH_OCTEONP)
|
|
|
|
|
|
|
|
|
+#elif BOOST_ARCH_MIPS && (((__mips_isa_rev > 1) && defined(__mips32)) || ((__mips_isa_rev > 2) && defined(__mips64)))
|
|
|
# define cpu_relax() asm volatile ("pause" ::: "memory"); |
|
|
# define cpu_relax() asm volatile ("pause" ::: "memory"); |
|
|
#elif BOOST_ARCH_PPC |
|
|
#elif BOOST_ARCH_PPC |
|
|
// http://code.metager.de/source/xref/gnu/glibc/sysdeps/powerpc/sys/platform/ppc.h |
|
|
// http://code.metager.de/source/xref/gnu/glibc/sysdeps/powerpc/sys/platform/ppc.h |