04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Compiler-specific Features<br />

4.7.41 __wfe<br />

This intrinsic inserts a WFE instruction into the instruction stream generated by the<br />

compiler.<br />

On the v6T2 architecture, the WFE instruction is executed as a NOP instruction.<br />

Syntax<br />

void __wfe(void)<br />

Errors<br />

The compiler does not recognize the __wfe intrinsic when compiling for a target that<br />

does not support the WFE instruction. The compiler generates either a warning or an error<br />

in this case.<br />

See also<br />

• __wfi<br />

• __nop on page 4-89<br />

• __sev on page 4-98<br />

• __yield on page 4-108<br />

• NOP, SEV, WFE, WFI, and YIELD on page 4-142 in the Assembler Guide.<br />

4.7.42 __wfi<br />

This intrinsic inserts a WFI instruction into the instruction stream generated by the<br />

compiler.<br />

On the v6T2 architecture, the WFI instruction is executed as a NOP instruction.<br />

Syntax<br />

void __wfi(void)<br />

Errors<br />

The compiler does not recognize the __wfi intrinsic when compiling for a target that<br />

does not support the WFI instruction. The compiler generates either a warning or an error<br />

in this case.<br />

See also<br />

• __yield on page 4-108<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 4-107<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!