Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4 . Assume that there are no pipeline stalls and that the breakdown of executed instructions is as follows for the processor shown in the

4. Assume that there are no pipeline stalls and that the breakdown of executed instructions is as
follows for the processor shown in the Figure below:
add addi not beq lw sw
17%18%5%25%25%10%
4.1 In what fraction of all cycles is the shift-left 1 unit used?
The shift left-1 unit is used only for branch instructions: 25%
4.2 In what fraction of all cycles is the input of the sign-extend circuit needed?
addi, beq, not, lw, sw: 18+25+25+10=78%
4.3 What is the utilization of the second input data port of the ALU?
The second input port of the ALU is used in all instructions except the unconditional branch
instruction (jal for example) where the ALU does not need to determine if a branch is to be
taken.
add, addi, not, beq, lw, sw =100%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

Write formal and informal proposals.

Answered: 1 week ago

Question

Describe the components of a formal report.

Answered: 1 week ago

Question

Write formal and informal reports.

Answered: 1 week ago