Memory-hazard detection and avoidance instructions for vector processing
AssigneeApple Inc.
InventorsJeffry E. Gonion, Keith E. Diefendorff
Life of this patent
Estimating the term…
Loading patent…
AssigneeApple Inc.
InventorsJeffry E. Gonion, Keith E. Diefendorff
Estimating the term…
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.
A method for performing parallel operations in a computer system when one or more memory hazards may be present, comprising:
A compiler configured to generate instructions based on a feature set of a processor, wherein, upon executing the instructions, the processor is configured to:
A computer system configured to execute instructions to avoid one or more memory hazards while performing parallel operations, comprising:
Dependencies are inferred from the claim text.