www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# CS704 - Advanced Computer Architecture-II Assignment No. 2 Solution and Discussion Spring 2017 Due Date: May 27, 2017

CS704 - Advanced Computer Architecture-II Assignment No. 2 Solution and Discussion Spring 2017 Due Date: May 27, 2017

Question 1: Total Points (10+5+5= 20)

Following code lines are written in a high level language:

a = c + d;

b = c + e;

The corresponding instructions for MIPS are:

LW R1, 0(R0)

LW R2, 4(R0)

SW R3, 12(R0)

LW R4, 8(R0)

SW R5, 16(R0)

These instructions are to be executed on a pipelined processor with forwarding.

(a)  Identify hazards by showing the execution of these instructions per cycle bases.

(b)  Reorder these instructions to avoid any pipeline stalls.

(c)   How many cycles are saved after executing the reordered instructions?

Question 2: Total Points (10)

Read the research paper titled "Verifying Tomasulo’s Algorithm by Refinement", and explain (in your own words) how Tomasulo’s algorithm for out-of-order execution can be used as a refinement of the sequential instruction execution algorithm.

Question 3: Total Points (10+10= 20)

Read the research paper titled “An optimizing pipeline stall reduction algorithm for power and performance on multi-core CPUs”, and answer the following questions in your own words:

1. How the proposed Left-Right (LR) algorithm works?
2. Why LR algorithm is giving better results as compared to traditional in-order and Tomasulo’s algorithms?

Views: 424

### Replies to This Discussion

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

&

.... How to Find Your Subject Study Group & Join ....

1

2

3

4

5

## Latest Activity

Edwin Poul, Lindamalinskiy, shahzeel khan and 1 more joined Virtual University of Pakistan
19 minutes ago

21 minutes ago

22 minutes ago

22 minutes ago

22 minutes ago

### 32

22 minutes ago
34 minutes ago
MR Bhutta updated their profile
2 hours ago