

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
Material Type: Assignment; Professor: Tarnoff; Class: Comp Architecture; Subject: Computer & Information Science (CSCI); University: East Tennessee State University; Term: Fall 2006;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


CSCI 4717 – Computer Architecture Fall 2006 Superscalar In-class Assignment
L1: R1 = 100
L2: R1 = R2 + R
L3: R2 = R4 - 25
L4: R4 = R1 + R
L5: R1 = R1 + 30
L1: R1 (^) b = 100
L2: R1 (^) c = R2 (^) a + R4 (^) a
L3: R2 (^) b = R4 (^) a - 25
L4: R4 (^) b = R1 (^) c + R3 (^) a
L5: R1 (^) d = R1 (^) c + 30
Questions 3 and 4 are based on the "in-order issue/in-order completion" execution sequence shown in the figure below. Decode Execute Write Cycle I1 I2 1 I2 I1 2 I2 I1 3 I3 I4 I2 4 I5 I6 I4 I3 I1 I2 5 I5 I6 I3 6 I5 I6 I3 I4 7 I5 8 I5 I6 9
True data dependencies cannot be fixed using out-of-order issue or out-of-order completion. Therefore, there will be no speed up of I2 with respect to I1 by changing the issue sequence or output sequence.
write-read *L2 – L *L2 – L L1 – L L1 – L
write-write *L1 – L *L2 – L L1 – L
read-write L2 – L L2 – L L3 – L L4 – L
Decode Window Execute Write Cycle I1 I2 1 I3 I4 I1, I2 I1 2 I5 I6 I2, I3, I4 I1 3 I4, I5, I6 I5 I2 I3 I1 4 I6 I5 I4 I3 I2 5 I6 I3 I4 6 I5 I6 7
The first benefit of going to "out-of-order issue/out-of-order completion" is the ability to get instructions into the execution stage as soon as the resource becomes available. The decode unit takes one cycle to pull in a pair of instructions then pass them to the window. As long as the window has room for the instruction, nothing should hold up the decode stage. The instructions must stay in the window until either the dependency is resolved (e.g., I1 – I2) or until the execute resource frees up allowing the stage to execute.