Memory-hazard detection and avoidance instructions for vector processing
Abstract
A processor that is configured to perform parallel operations in a computer system where one or more memory hazards may be present is described. An instruction fetch unit within the processor is configured to fetch instructions for detecting one or more critical memory hazards between memory addresses if memory operations are performed in parallel on multiple addresses corresponding to at least a partial vector of addresses. Note that critical memory hazards include memory hazards that lead to different results when the memory addresses are processed in parallel than when the memory addresses are processed sequentially. Furthermore, an execution unit within the processor is configured to execute the instructions for detecting the one or more critical memory hazards.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for detecting memory hazards, comprising: while executing program code using a processor, executing one or more instructions to compute memory address information, wherein computing the memory address information comprises computing the memory address information using input data that is not available until runtime; writing the memory address information to corresponding elements in a plurality of vectors; and executing a memory-hazard-checking instruction to determine a portion of the elements of at least one of the vectors for which performing corresponding memory operations in para
- Claim 2Depends on #1
The method of claim 1 , wherein the method further comprises: performing memory operations in parallel using the memory address information in the portion of the elements.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗