Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

_xend

$
0
0

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.

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>