--- boost/fiber/detail/cpu_relax.hpp.orig 2022-12-08 09:02:41.000000000 +0800 +++ boost/fiber/detail/cpu_relax.hpp 2023-05-14 19:32:43.000000000 +0800 @@ -59,7 +59,11 @@ // processors // extended mnemonics (available with POWER7) // yield == or 27, 27, 27 +# if defined(__POWERPC__) +# define cpu_relax() asm volatile ("or r27,r27,r27" ::: "memory"); +# else # define cpu_relax() asm volatile ("or 27,27,27" ::: "memory"); +# endif #elif BOOST_ARCH_X86 # if BOOST_COMP_MSVC || BOOST_COMP_MSVC_EMULATED # define cpu_relax() YieldProcessor();