
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is a short homework assignment introducing instruction-level parallelism concepts through inter-operation dependencies and pipeline hazards from the perspective of source and assembly code. Students are required to read sections 7.1 and 7.3 in the textbook and solve problems related to dependencies and instruction scheduling. Unused statements in the code should also be noted.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

College of Computing
CS6290/CS4290 | High-Performance Computer Architecture Fall 1999
CS6290/CS4290 Issued: Octob er 4, 1999 Homework 2 Due: Octob er 8, 1999
Purp ose: This homework is a short homework intro ducing instruction-level parallelism by inter-op eration dep endencies and pip eline hazards from the p oint of view of source and assembly co de.
Reading: H&P Section 4.1, primarily. H&P Chapter 3 for background. [Fisher91] is helpful reading, also.
Problem 1: Dep endencies
A: Problem 4.1 in the b o ok.
B: Problem 4.2 in the b o ok.
C: Problem 4.3 in the b o ok. Also note any statements that are unused (\dead") in the co de.
Problem 2: Instruction Scheduling
In each problem, show the stall cycles incurred in the original co de b efore you unroll the lo op.
A: Problem 4.4 in the b o ok.
B: Problem 4.5 in the b o ok.
The next homework will pick up from this p oint by lo oking at hardware mechanisms for pro ducing the same improvements you've made manually here.
CS6290/CS4290 Fall 1999 { 1 { Octob er 4, 1999