This intrinsic creates a special sequence point that prevents operations with side effects from moving past it under all circumstances. Normal sequence points allow operations with side effects past if they do not affect program behavior. Operations without side effects are not restricted by the intrinsic, and the compiler can move them past the sequence point.
Operations with side effects cannot be reordered above
or below the __schedule_barrier intrinsic. To use this
intrinsic, your source file must contain #include
<arm_compat.h>. This is only available for targets in AArch32 state.
Unlike the __force_stores intrinsic, the
__schedule_barrier intrinsic does not cause memory to be
updated. The __schedule_barrier intrinsic is similar to the
__nop intrinsic, only differing in that it does not
generate a NOP instruction.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.