摘要 |
<p>A method and apparatus are disclosed for aligning a plurality of multi-processors (10). The apparatus preferably comprises an alignment unit (20) associated with each processor and a logic network (30) for combining the output of the alignment unit and for broadcasting information to these units. Alignment is achieved by inserting in the instruction stream of each processor that is to be aligned a request for alignment, by testing for prior completion of any instructions that must be completed and by causing all processors to wait until they have all made the request for alignment and completed necessary prior instructions. The alignment unit associated with each processor monitors the instruction stream to detect a request for alignment. When all the units have made such a request, the logic network informs the alignment units; and the alignment units inform the processors.</p> |