ASK_10_Superskalar.pdf

(1887 KB) Pobierz
untitled
Procesory superskalarne
1/28
E FU 0
MEM
Procesory
superskalarne -
scoreboarding
EX
FU 1
IF
IS
RO
WB
E FU N
Scoreboard
246286749.051.png 246286749.062.png 246286749.071.png 246286749.072.png 246286749.001.png 246286749.002.png 246286749.003.png 246286749.004.png 246286749.005.png 246286749.006.png 246286749.007.png 246286749.008.png 246286749.009.png 246286749.010.png 246286749.011.png 246286749.012.png 246286749.013.png 246286749.014.png 246286749.015.png 246286749.016.png 246286749.017.png 246286749.018.png 246286749.019.png 246286749.020.png 246286749.021.png 246286749.022.png 246286749.023.png 246286749.024.png 246286749.025.png 246286749.026.png 246286749.027.png 246286749.028.png 246286749.029.png 246286749.030.png 246286749.031.png 246286749.032.png 246286749.033.png 246286749.034.png 246286749.035.png 246286749.036.png 246286749.037.png 246286749.038.png 246286749.039.png 246286749.040.png 246286749.041.png 246286749.042.png 246286749.043.png 246286749.044.png 246286749.045.png
1. Zależności danych
1 2345
2/28
Zależności danych – nowa terminologia
RAW
WAR
WAW
Write After Write
Read After Write
Write After Read
Write
Write
y0 = y1
Read
y0 = 0
y0 = a
y1 = y0
y1 = 1
y0 = b
Read
Write
Write
246286749.046.png 246286749.047.png 246286749.048.png 246286749.049.png
2. Scoreboarding
1 2345
3/28
IF – Instruction Fetch
ID – Instruction Decode
EX – Execute
MEM – Memory Access
WB – Write Back
Scoreboarding
E FU 0
MEM
EX
FU 1
IF
IS
RO
WB
E FU N
IS – Instruction Issue
RO – Read Operands
Scoreboard
IF
ID
EX
MEM
WB
246286749.050.png 246286749.052.png 246286749.053.png 246286749.054.png 246286749.055.png 246286749.056.png 246286749.057.png 246286749.058.png
3. Zależności w scoreboarding
1 2 345
4/28
Eliminacja zależności w algorytmie scoreboarding
E FU 0
MEM
EX
IF
IS
RO
WB
E FU N
Scoreboard
Strukt.
RAW
WAR
FU 1
WAW
246286749.059.png 246286749.060.png 246286749.061.png 246286749.063.png 246286749.064.png 246286749.065.png 246286749.066.png 246286749.067.png 246286749.068.png 246286749.069.png
4. Struktury w scoreboarding
1 2 3 45
5/28
Struktury wykorzystywane w algorytmie scoreboarding
R
R 0
R 1
R 2
R M
Dest
Src
Busy RO WB
EX
F 0
F N
F 1
246286749.070.png
Zgłoś jeśli naruszono regulamin