Professional Documents
Culture Documents
total
instructions
freq -
Instruction/ total instruction
Anithmetic: Point:
Integer Floating
eCP1 =
(45,000/100,000)
1 x eCPI =
2 x (15,000/100,000)
0.45
=>
=0.30
transfer:
Bata control transfer
eCPI 2
=
(32,000/100,000)
x 2CPI 2 x (8000/100,000)
=
=
0.64 => 0.16
=
1.55
time
execution 100,000
=
1.55
x =
1.9375ms.
time
80,000,000
1.9375
51.61
=>
2. clock rate 100 MHz =
crutine instruction
-
count xCPI/clock rate
0.25 = 10,000,000 xCP1/(100 x 10"
CP1 =
0.25 x (100 x 183)
10,000,000
CP1 2.5
=
MIPS 48 =
-
P is not superscalar because (PIis<1
MIPS p':
instruction/(n/1.5)
p' 1.5p
=
1675
=
4.
250ps
x
500ps
=>
CPU time B (i x
1.2)
x500ps
=
=600ps
cutimeB
388
=
1.2
=
CPU time A
-CPUA
is 1.2 times
faster than B
5.
9
=
5 10
=
1.1
=
-code A
is 1.11 times faster than code 3
effective (P1 n.
=
of cycles/frequency (instruction/ total instructions)
<Plcode A
1
=
=
2
1
CPI code B = 1.5
=