Question
Fill in the pipeline diagram (on a separate sheet of paper) for the following sequence of instructions, assuming data forwarding and that multiply takes three
Fill in the pipeline diagram (on a separate sheet of paper) for the following sequence of instructions, assuming data forwarding and that multiply takes three cycles to execute and divide takes 6 cycles to execute. How many cycles will it take to execute this instruction sequence? Assume that there is only one execution unit (for example, you cannot multiply and divide at the same time). The destination for the product in instruction #3 should be F3 rather than R3. Note: You are required to fill in only the total cycles for the execution of given instruction sequence. Number of cycles =____?
Instruct 1 2 3 456 789 0 123 45 678 9 on ld fl,0(r2) mul r3,fl,f2 ld f4,00r3) ld f5,00r4) div f6,f4,fs
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