Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the same pipelined datapath as in Question 3 and the same instructions, rearrange them to minimize the number of hazards, and redetermine the sequence

image text in transcribed

Using the same pipelined datapath as in Question 3 and the same instructions, rearrange them to minimize the number of hazards, and redetermine the sequence of the instructions moving through the pipeline. Provide a brief reasoning why you moved around certain instructions. This new code should be written both in the instruction column. This new code should also be written below the table without any NOPs that might be inserted by the hazard detection unit. Inst. 1: ld x3 0(x4) Inst. 2: sub x5 x3 x2 Inst. 3: or x6 x4 x5 Inst. 4: sd x5 20(x6) Inst. 5: sd x6 20(x1) Inst. 6: add x7 x3 x5 Instruction 1 CC2 CC3 CC4 CC5 CC6 CC7 CC8 CC9 CC10 CC12 CC13 CC14 Using the same pipelined datapath as in Question 3 and the same instructions, rearrange them to minimize the number of hazards, and redetermine the sequence of the instructions moving through the pipeline. Provide a brief reasoning why you moved around certain instructions. This new code should be written both in the instruction column. This new code should also be written below the table without any NOPs that might be inserted by the hazard detection unit. Inst. 1: ld x3 0(x4) Inst. 2: sub x5 x3 x2 Inst. 3: or x6 x4 x5 Inst. 4: sd x5 20(x6) Inst. 5: sd x6 20(x1) Inst. 6: add x7 x3 x5 Instruction 1 CC2 CC3 CC4 CC5 CC6 CC7 CC8 CC9 CC10 CC12 CC13 CC14

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

The Evaluation Of An Internal Audit Department The Case Of SOTELMA

Authors: Oumar Bah

1st Edition

6204486039, 978-6204486031

More Books

Students also viewed these Accounting questions

Question

2. Define communication.

Answered: 1 week ago