Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Architecture 1. ( 6 points) Suppose the following code segment is going to be executed in the 5 -stage pipeline of the SRC processor.

image text in transcribed

Computer Architecture 1. ( 6 points) Suppose the following code segment is going to be executed in the 5 -stage pipeline of the SRC processor. Id r9, addr 1 sub r5,r3,r9 add r7,r5,r10 st r7, addr 2 (a) (2 points) Find out all RAW hazards in the code segment. (b) (2 points) How many cycles are needed to complete the execution if data forwarding is used? Explain how all the RAW hazards are resolved. (c) (2 points) How many cycles are needed to complete the execution if data forwarding is not used? If an instruction needs to be stalled, list the number of cycles that this instruction has to be stalled. 2. (4 points) Referring to the following 1-bus SRC microarchitecture, write the concrete RTN steps for the instruction "sub ra, rb, rc

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions