MFENCE and LFENCE micro-architectural implementation method and system
Abstract
A system and method for fencing memory accesses. Memory loads can be fenced, or all memory access can be fenced. The system receives a fencing instruction that separates memory access instructions into older accesses and newer accesses. A buffer within the memory ordering unit is allocated to the instruction. The access instructions newer than the fencing instruction are stalled. The older access instructions are gradually retired. When all older memory accesses are retired, the fencing instruction is dispatched from the buffer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor comprising: instruction fetch circuitry to fetch a memory fence (MFENCE) instruction, a memory load fence (LFENCE) instruction, and a memory store fence (SFENCE) instruction; instruction decoder circuitry to decode the MFENCE instruction, the LFENCE instruction, and the SFENCE instruction; and memory ordering unit circuitry to: prevent load instructions and store instructions and cache line flush instructions that follow the MFENCE instruction in program order from being dispatched until all load instructions and store instructions and cache line flush instructions previous to the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (5)
- Advanced Micro Devices, Inc., "AMD-3D Technology Manual", (Feb. 1998), pp. i-x, 1-58.
- Alpha 21164 Microprocessor Hardware Reference Manual (Dec. 1998, pp. 1-435).
- Alpha 21264 Microprocessor Hardware Reference Manual, COMPAQ Computer Corporation, Order No. EC-RJRZA-TE, (Jul. 1999).
- Barad, Haim, et al., "Intel's Multimedia Architecture Extension", Nineteenth Convention of Electrical and Electronics Engineers in Israel, (1996), pp. 148-151.
- Bernstein et al. (Solutions and Debugging for Data Consistency in Multiprocessors with Noncoherent Caches, Feb. 1995, pp. 83-103).