ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 24 May 2017 My Price 9.00

CDA 5155 – Homework #3Submission

Somebody please help me with this assignment. Everything is in the attachment.Thanks.

 

CDA 5155 – Homework #3Submission:1.An email submission with a word or PDF document to the instructor (yuw@cs.fsu.edu).Due Date:1.Thursday, April 7th, 2016, 11:50pm for all studentsLate Penalty:1.10% per day (5% if within 3 hours).2.Maximum two daysQuestions:1.(25 points)Dynamic Scheduling. The following stream of instructions is executed on aprocessor that supports Tomasulo’s algorithm (with reservation stations and without reorderbuffer).L.DF1, 8(R1); F1 = MEM[R1+8]L.DF2, 8(R2); F2 = MEM[R2+8]MUL.DF4, F1, F2; F4=F1*F2S.DF4, 8(R2); MEM[R2+8] = F4ADD.DF4, F1, F2; F4 = F1+F2ADD.DF6, F6, F4; F6 = F6+F4(a)Please list the number of dependences in the code including RAW, WAW and WAR.(b)Based on the example from Figure 3.7 in the textbook, show what the information tableslook like when only the first load has completed and written its result F1. Be sure toinclude three tables for instruction status, reservation stations and register status.(c)Then show what the information tables look like when the MUL.D instruction is ready towrite its result F4. Be sure to include three tables for instruction status, reservationstations and register status.(d)Finally, assume that the execution of instructions take one cycle for integer ALUoperation, 2 cycles for Load/Stores (one for address calculation; another for data access),2 cycles for ADD.D, and 4 cycles for MUL.D. Fill in the following table for theexecution timing (in terms of cycle) of all instructions.InstructionIssue atExecutestart atExecuteend atData atWriteCDB atL.DF1, 8(R1)12234L.DF2, 8(R2)MUL.DF4, F1, F2S.DF4, 8(R2)ADD.DF4, F1, F2ADD.DF6, F6, F42.(25 points)Speculative Tomasulo and Speculative Superscalar. The following loop ofinstructions is executed. Assume that the execution takes one cycle for integer ALUoperations and branches, 2 cycles for Load/Stores (one for address calculation; another fordata access), 2 cycles for ADD.D, and 4 cycles for MUL.D.LOOP:L.DF2, 8(R2); F2 = MEM[R2+8]MUL.DF4, F2, F2; F4=F2*F2S.DF4, 8(R2); MEM[R2+8] = F4ADD.DF4, F2, F2; F4 = F2+F2ADD.DF6, F6, F4; F6 = F6+F4DSUBUI R4, R4, #8; R4 = R4 - 8BNEQR4, LOOP; if R4 != 0, jump to LOOP

Attachments:

Answers

(11)
Status NEW Posted 24 May 2017 07:05 AM My Price 9.00

-----------

Not Rated(0)