Docsity

Instruction-Level Parallelism & Dependencies in Computer Architecture Homework, Assignments of Computer Science

Toggle sidebar
bg1
GEORGIA INSTITUTE OF TECHNOLOGY
College of Computing
CS6290/CS4290 | High-Performance Computer Architecture
Fall 1999
CS6290/CS4290 Issued: October 4, 1999
Homework 2 Due: October 8, 1999
Purpose:
This homework is a short homework introducing instruction-level
parallelism byinter-operation dependencies and pipeline hazards
from the point of view of source and assembly code.
Reading:
H&P Section 4.1, primarily.
H&P Chapter 3 for background.
[Fisher91] is helpful reading, also.
Problem 1:
Dependencies
A:
Problem 4.1 in the b o ok.
B:
Problem 4.2 in the b o ok.
C:
Problem 4.3 in the book. Also note any statements that are
unused (\dead") in the code.
Problem 2:
Instruction Scheduling
In each problem, show the stall cycles incurred in the original code before you unroll the
loop.
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 pointby looking at
hardware
mechanisms for
producing the same improvements you've made manually here.
CS6290/CS4290 Fall 1999 {1{ October 4, 1999

Partial preview of the text

Download Instruction-Level Parallelism & Dependencies in Computer Architecture Homework and more Assignments Computer Science in PDF only on Docsity!

GEORGIA INSTITUTE OF TECHNOLOGY

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