Question: A compiler designer is trying to decide between two code sequences for a particular machine. having cycle time 250ns the hardware designer has supplied for
A compiler designer is trying to decide between two code sequences for a particular machine. having cycle time 250ns the hardware designer has supplied for the following:
there are three different classes : Class A, Class B, and Class C,
cpi 3 2 1
code sequence
1 20 10 20
2 40 10 10
Which sequence executes the most instructions?which will be faster? ? What is the CPI for each sequence?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
