Method and apparatus for processing a load-lock instruction using a relaxed lock protocol
Abstract
A processing core using a lock scoreboard mechanism is provided. The lock scoreboard is adapted to manage a load-lock instruction. The load-lock scoreboard includes a plurality of scoreboard entries representing different conditions that must be met before the load-lock instruction can be retired. During execution of the load-lock instruction retirement conditions are speculatively performed, and the scoreboard is updated and checked accordingly. If the scoreboard indicates that one or more retirement conditions are not met, the load-lock instruction is replayed. Otherwise, the load-lock instruction is permitted to retire. Scoreboard management functions routinely update scoreboard contents as retirement conditions are cleared. This enables rapid retirement of load-lock operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 10.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: executing a load-lock instruction if predetermined execution conditions have been met but before data of older store instructions have been drained from a write combining buffer, following the executing, marking the load-lock instruction as retireable, if, before a predetermined retirement condition has been met, a snoop occurs that hits the load-lock instruction, then discarding all data of the load-lock instruction and scheduling the load-lock instruction for re-execution.
- Claim 2Depends on #1
The method of claim 1 , further comprising, retiring the load-lock instruction if the predetermined retirement condition is met.
- Claim 3Depends on #1
The method of claim 1 , wherein the execution comprises: determining whether a prefetch request for ownership has been issued to an address of the load-lock instruction pursuant to a store unlock instruction that is associa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗