Preventing register data flow hazards in an SST processor
AssigneeSun Microsystems, Inc.
InventorsShailender Chaudhry, Paul Caprioli, Marc Tremblay
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsShailender Chaudhry, Paul Caprioli, Marc Tremblay
Estimating the term…
One embodiment of the present invention provides a system that prevents data hazards during simultaneous speculative threading. The system starts by executing instructions in an execute-ahead mode using a first thread. While executing instructions in the execute-ahead mode, the system maintains dependency information for each register indicating whether the register is subject to an unresolved data dependency. Upon the resolution of a data dependency during execute-ahead mode, the system copies dependency information to a speculative copy of the dependency information. The system then commences execution of the deferred instructions in a deferred mode using a second thread. While executing instructions in the deferred mode, if the speculative copy of the dependency information for a destination register indicates that a write-after-write (WAW) hazard exists with a subsequent non-deferred instruction executed by the first thread in execute-ahead mode, the system uses the second thread to execute the deferred instruction to produce a result and forwards the result to be used by subsequent deferred instructions without committing the result to the architectural state of the destination register. Hence, the system makes the result available to the subsequent deferred instructions without overwriting the result produced by a following non-deferred instruction.
A method for preventing data hazards during simultaneous speculative threading, comprising:
An apparatus for preventing data hazards during simultaneous speculative threading, comprising:
A computer system for preventing data hazards during simultaneous speculative threading, comprising:
Dependencies are inferred from the claim text.