Q1: (10 marks): Assume the following latencies for a single issue processor. cing Result Instruction Using Result Latenc

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Q1: (10 marks): Assume the following latencies for a single issue processor. cing Result Instruction Using Result Latenc

Post by answerhappygod »

Q1 10 Marks Assume The Following Latencies For A Single Issue Processor Cing Result Instruction Using Result Latenc 1
Q1 10 Marks Assume The Following Latencies For A Single Issue Processor Cing Result Instruction Using Result Latenc 1 (53.5 KiB) Viewed 20 times
Q1: (10 marks): Assume the following latencies for a single issue processor. cing Result Instruction Using Result Latency in Clock Cycl 1 of 3 DIV Another FP ALU op 4 SUB 2 Another FP ALU op or Store Dobule FP ALU op Load Double 1 Load Double 0 Store Double Branch Int ADD 1 You are provided with 34 FP registers but you can only use even registers and any used register ca be reused again for unrolling. Schedule and unroll the following code a maximum number of ti Write down the code and give clock cycles/iteration for the following: A) (4 marks) Unscheduled and without unrolling B) (6 marks) Scheduled and maximally unrolled Loop: LD FO, 0(R4) LD F2, 0(R3) DIV.D F6, FO, F4 // F4 carries a scalar constant SUB.D F8, F2, FO ADD.D F10, F8, F12 // F12 carries a scalar constant S.D F10, 0(R4) S.D F8, 0(R3) DADDI R3, R3, -8 DADDI R4, R4, -8 BNEQZ R4, Loop
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply