4.7.9. __clrex

This intrinsic inserts a CLREX instruction into the instruction stream generated by the compiler. It enables you to include a CLREX instruction in your C or C++ code.


void __clrex(void)


The compiler does not recognize the __clrex intrinsic when compiling for a target that does not support the CLREX instruction. The compiler generates either a warning or an error in this case.

See also

  • CLREX in the Assembler Guide.

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A