Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(d) (15 points) Consider the following loop being executed by a dual issue cpu: Loop LD DAD DIU SD DAD DIU BNE R2, 0(R1) R2,

image text in transcribed

(d) (15 points) Consider the following loop being executed by a dual issue cpu: Loop LD DAD DIU SD DAD DIU BNE R2, 0(R1) R2, R2, #1 R2,0 (R1) R1 , R1,#8 R2, R3, Loop List when each instruction, for the first three iterations of the loop lssues, Executes, Reads, Writes value onto CDB, and commits, assuming speculation. (15 Points) Assume sufficient FUs, a suffciently large reorder buffer, and that at most two instructions can commit in any clock cycle. Iter. Instruction IssuesExecutes Mem access Writes CDB Commits LD R2,0(R1) DAD DIU R2, R2, #1 SD R2,0(R1) DAD DI URI, R1, #8 BNE R2,R3, Loop 2 LD R2,0(R1) DAD DIU R2, R2, #1 2 SD R2,0(R1) DAD DI URI, R1, #8 2 BNE R2,R3,Loop 3 LD R2,0(R1) 3 DADDIU R2, R2, #1 3SD R2,0(R1) 3 | DAD DI URI, R1, #8 3BNE R2,R3,Loop (d) (15 points) Consider the following loop being executed by a dual issue cpu: Loop LD DAD DIU SD DAD DIU BNE R2, 0(R1) R2, R2, #1 R2,0 (R1) R1 , R1,#8 R2, R3, Loop List when each instruction, for the first three iterations of the loop lssues, Executes, Reads, Writes value onto CDB, and commits, assuming speculation. (15 Points) Assume sufficient FUs, a suffciently large reorder buffer, and that at most two instructions can commit in any clock cycle. Iter. Instruction IssuesExecutes Mem access Writes CDB Commits LD R2,0(R1) DAD DIU R2, R2, #1 SD R2,0(R1) DAD DI URI, R1, #8 BNE R2,R3, Loop 2 LD R2,0(R1) DAD DIU R2, R2, #1 2 SD R2,0(R1) DAD DI URI, R1, #8 2 BNE R2,R3,Loop 3 LD R2,0(R1) 3 DADDIU R2, R2, #1 3SD R2,0(R1) 3 | DAD DI URI, R1, #8 3BNE R2,R3,Loop

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_2

Step: 3

blur-text-image_3

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

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago