Hubbry Logo
search button
Sign in
Advanced Synchronization Facility
Advanced Synchronization Facility
Comunity Hub
History
arrow-down
starMore
arrow-down
bob

Bob

Have a question related to this hub?

bob

Alice

Got something to say related to this hub?
Share it here.

#general is a chat channel to discuss anything related to the hub.
Hubbry Logo
search button
Sign in
Advanced Synchronization Facility
Community hub for the Wikipedia article
logoWikipedian hub
Welcome to the community hub built on top of the Advanced Synchronization Facility Wikipedia article. Here, you can discuss, collect, and organize anything related to Advanced Synchronization Facility. The ...
Add your contribution
Advanced Synchronization Facility

Advanced Synchronization Facility (ASF) is a proposed extension to the x86-64 instruction set architecture that adds hardware transactional memory support. It was introduced by AMD; the latest specification was dated March 2009.[1] As of October 2013, it was still in the proposal stage.[2] No released microprocessors implement the extension.

Features

[edit]

ASF provides the capability to start, end and abort transactional execution and to mark CPU cache lines for protected memory access in transactional code regions. It contains four new instructions—SPECULATE, COMMIT, ABORT and RELEASE—and turns the otherwise invalid LOCK-prefixed MOVx, PREFETCH and PREFETCHW instructions into valid ones inside transactional code regions. Up to 256 levels of nested transactional code regions is supported.

The SPECULATE and COMMIT instructions mark the start and end of a transactional code region. Inside transactional code regions, the LOCK-prefixed MOVx reg/xmm, mem, PREFETCH and PREFETCHW instructions can mark up to four cache lines for protected memory access. Accesses from other processor cores to the protected cache lines result in exceptions, which in turn cause transaction aborts. Stores to protected cache lines must be performed using the LOCK MOVx mem, reg/imm/xmm instructions. Marked cache lines can be released from protection with the RELEASE instruction. Transaction aborts generated by hardware or explicitly requested through the ABORT instruction rolls back modifications to the protected cache lines and restarts execution from the instruction following the top-level SPECULATE instruction.

See also

[edit]

References

[edit]
  1. ^ "Advanced Synchronization Facility Proposed Architectural Specification" (PDF). AMD. Mar 2009. Archived from the original (PDF) on 2014-06-13. Retrieved 2013-10-27.
  2. ^ "AMD 'Advanced Synchronization Facility' Proposal". AMD. Archived from the original on 2013-11-13. Retrieved 2013-10-27.