Hazard Check Instructions for Enhanced Predicate Vector Operations
AssigneeApple Inc.
InventorJeffry E. Gonion
Life of this patent
Estimating the term…
Loading patent…
AssigneeApple Inc.
InventorJeffry E. Gonion
Estimating the term…
A hazard check instruction has operands that specify addresses of vector elements to be read by first and second vector memory operations. The hazard check instruction outputs a dependency vector identifying, for each element position of the first vector corresponding to the first vector memory operation, which element position of the second vector that the element of the first vector depends on (if any). In an embodiment, at least one of the vector memory operations has addresses specified using a scalar address in the operands (and a vector attribute associated with the vector). In an embodiment, the operands may include predicates for one or both of the vector memory operations, indicating which vector elements are active. The dependency vector may be qualified by the predicates, indicating dependencies only for active elements.
A processor comprising:
A method comprising executing an instruction in a processor, the instruction having a plurality of operands that specify a first one or more addresses corresponding to a first vector memory operation and a second one or more addresses corresponding to a second vector memory operation, wherein at least one of the first one or more addresses and the second one or more addresses are based on a scalar address in the plurality of operands and further dependent on a vector attribute of the corresponding first vector memory operation or second vector memory operation, wherein the executing includes:
A processor comprising:
Dependencies are inferred from the claim text.