Developer Guide and Reference

Contents

_xend

Specifies the end of a restricted transactional memory (RTM) code region. The corresponding Intel® AVX2 instruction is
XEND
.

Syntax

void _xend(void);
Arguments
None.
Description
Specifies the end of restricted transactional memory code region. If this is the outermost transaction (including this
xend
instruction, the number of
xbegin
matches the number of
xend
instructions) then the processor will attempt to commit processor state automatically.
If the commit fails, the processor will rollback all register and memory updates performed during the RTM execution.
The logical processor will resume execution at the fallback address computed from the outermost
xbegin
instruction. The EAX register is updated to reflect RTM abort information. When
xend
is executed outside a transaction will cause a general protection fault (
#GP
).
The model instruction sequence for
xend
support is:
__inline void _xend() { __asm { xend } }
Returns
Result of the query.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804