Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume that to spell check a large file, 8 2 0 , 0 0 0 , 0 0 0 instructions are needed. The instructions in
Assume that to spell check a large file, instructions are needed. The instructions in
the program are broken down into different classes, and each class requires clock cycles to
execute. Specific information is given in the table below. Here N is the same as in the RISCV
multicycle datapath discussed in class.
i If the total execution time for this program is found to be seconds, what is the clock cycle
time of the computer on which it was run?
ii Assume that as part of the instruction spell check, of all load instructions are
immediately followed by an ALU Rtype instruction that uses the data that was just loaded. To
speed up this program, we are contemplating adding a new type of instruction an ALU instruction
where one of the source operands is a value from memory.
This new instruction will replace the previous, instruction sequence.
It will take clock cycles.
Will this change offer any speedup over the original design? If so how much?
You may assume that the clock rate does not change and your answer to this question does not
depend on your answer to i
iii Qualitatively, if you see a speedup, where does it come from? If you do not, why not?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started