9.104 __clrex intrinsic

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, depending on the source language:
  • In C code: Warning: #223-D: function "__clrex" declared implicitly.
  • In C++ code: Error: #20: identifier "__clrex" is undefined.
Related information
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.