You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
377 B

  1. --- a/folly/portability/Asm.h
  2. +++ b/folly/portability/Asm.h
  3. @@ -38,7 +38,7 @@ inline void asm_volatile_pause() {
  4. ::_mm_pause();
  5. #elif defined(__i386__) || FOLLY_X64
  6. asm volatile("pause");
  7. -#elif FOLLY_AARCH64 || defined(__arm__)
  8. +#elif FOLLY_AARCH64 || (defined(__arm__) && !(__ARM_ARCH < 7))
  9. asm volatile("yield");
  10. #elif FOLLY_PPC64
  11. asm volatile("or 27,27,27");