9.141 __wfe intrinsic

This intrinsic inserts a WFE instruction into the instruction stream generated by the compiler.

In some architectures, for example the v6T2 architecture, the WFE instruction executes as a NOP instruction.


void __wfe(void)


The compiler does not recognize the __wfe intrinsic when compiling for a target that does not support the WFE instruction. The compiler generates either a warning or an error in this case, depending on the source language:
  • In C code: Warning: #223-D: function "__wfe" declared implicitly.
  • In C++ code: Error: #20: identifier "__wfe" is undefined.
Related reference
9.132 __sev intrinsic
9.119  __nop intrinsic
9.142 __wfi intrinsic
9.143 __yield intrinsic
Related information
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.