Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following loop, which calculates Y,- aX, + bY,. Assume the pipeline latencies given below Latency Instruction producing result FP ALU op FP ALU

image text in transcribed

Consider the following loop, which calculates Y,- aX, + bY,. Assume the pipeline latencies given below Latency Instruction producing result FP ALU op FP ALU op Load double Load double Instruction using result (clock cycles) 3 2 Another FP ALU op Store double FP ALU op Store double 0 loop: L.D F0,0 (R1) load Xi] F4,0(R2 ) F4,F4,F6 ;load Y[i] ;b*Y[i] L.D MUL.D S.D 0 (R2),FO ;store Y[i] DSUBUl R1, R1, #8 ;decrement X index DSUBUl R2, R2, #8 ;decrement Y index BNE R1, R3, loop ;stopping address in R3 Assume a single-issue pipeline. (Both the integer and .D floating point instructions are in the same pipeline.) Unroll the loop as many times as necessary to schedule it without any delays. What is the execution time per element? Consider the following loop, which calculates Y,- aX, + bY,. Assume the pipeline latencies given below Latency Instruction producing result FP ALU op FP ALU op Load double Load double Instruction using result (clock cycles) 3 2 Another FP ALU op Store double FP ALU op Store double 0 loop: L.D F0,0 (R1) load Xi] F4,0(R2 ) F4,F4,F6 ;load Y[i] ;b*Y[i] L.D MUL.D S.D 0 (R2),FO ;store Y[i] DSUBUl R1, R1, #8 ;decrement X index DSUBUl R2, R2, #8 ;decrement Y index BNE R1, R3, loop ;stopping address in R3 Assume a single-issue pipeline. (Both the integer and .D floating point instructions are in the same pipeline.) Unroll the loop as many times as necessary to schedule it without any delays. What is the execution time per element

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

Students also viewed these Databases questions

Question

39 Job evaluation methods.

Answered: 1 week ago

Question

Can Anandam manufacturing company got loan from bank or not?

Answered: 1 week ago

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago