This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Equivalent function of __builtin_ia32_pause

Dear expert,

Under arm, Is there equivalent builtin function of __builtin_ia32_pause ( for x86 )  which serves the pause?  It's expected for arm64 specific memory barrier instruction.

The compiler version used:

Using built-in specs.
Target: aarch64-unknown-linux-gnu
Configured with: ./configure --build=aarch64-unknown-linux-gnu --with-gmp=.../aarch64/gmp-6.1.0/ --with-mpfr=.../aarch64/mpfr-3.1.4/ --with-mpc=.../aarch64/mpc-1.0.3 --prefix=.../aarch64/gcc-9.2_armv8opt
Thread model: posix
gcc version 9.2.0 (GCC)