(. pipelinehazards) , .
:
(. structuralhazards) ,
(. datahazards) , , .
(. control hazards . branching hazards) , .
(. structural hazards) , , , , .
, . , , , , 䳿. .
, , 䳿 , . .
, , , ( ).
(. data hazards) , , , .
:
, . read after write (RAW),
, . write after read (WAR)
, . write after write (WAW)
i1. R2 <- R1 + R3
i2. R4 <- R2 + R3
:
- ;
- (forwarding) 䳿 ;
- (. Out-of-order execution) , .
˲ ˲ (controlhazards) - , .
i j - , j i. , j i, j , i. , j i , i - .
|
|
, , ( ). () , , . , .., , , .
. , . , , , 䳿.