9 #define FIO_ARCH (arch_aarch64)
11 #define nop do { __asm__ __volatile__ ("yield"); } while (0)
12 #define read_barrier() do { __sync_synchronize(); } while (0)
13 #define write_barrier() do { __sync_synchronize(); } while (0)
15 static inline int arch_ffz(unsigned long bitmask)
17 unsigned long count, reversed_bits;
18 if (~bitmask == 0) /* ffz() in lib/ffz.h does this. */
21 __asm__ __volatile__ ("rbit %1, %2\n"
23 "=r"(count), "=&r"(reversed_bits) :