equivalent for 'pause' mnemonic on ARM - or boost.pref?

Hi, does someone know an equivalent of x86 'pause' mnemonic for ARMv6? Raspbian (-march=armv6) and Debian armel (-march=armv4) seam no to accept The 'yield' mnemonic seams no to be right in both cases. Or does boost.predef's BOOST_ARCH_ARM give a hint for both cases? ty, Oliver

On 04/02/17 09:20, Oliver Kowalke via Boost wrote:
Hi, does someone know an equivalent of x86 'pause' mnemonic for ARMv6? Raspbian (-march=armv6) and Debian armel (-march=armv4) seam no to accept The 'yield' mnemonic seams no to be right in both cases.
See this post: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/YGVrZbxYOlU/Vpgy... It looks like NOP is the closest instruction you can have in the absence of YIELD.

2017-04-02 13:43 GMT+02:00 Andrey Semashev via Boost
On 04/02/17 09:20, Oliver Kowalke via Boost wrote:
Hi, does someone know an equivalent of x86 'pause' mnemonic for ARMv6? Raspbian (-march=armv6) and Debian armel (-march=armv4) seam no to accept The 'yield' mnemonic seams no to be right in both cases.
See this post:
https://groups.google.com/a/chromium.org/d/msg/chromium-dev/ YGVrZbxYOlU/Vpgy__zeBQAJ
It looks like NOP is the closest instruction you can have in the absence of YIELD.
thx
participants (2)
-
Andrey Semashev
-
Oliver Kowalke