Course Solutions Uncategorized (Solved) : Consider Code Loop Fld F0 0 X1 Fmuld F4 F0 F2 Fsd F4 0 X1 Fsubd F4 F10 F14 Addi X1 X1 8 B Q32603831 . . . .

(Solved) : Consider Code Loop Fld F0 0 X1 Fmuld F4 F0 F2 Fsd F4 0 X1 Fsubd F4 F10 F14 Addi X1 X1 8 B Q32603831 . . . .

 

Consider the code below.]

Loop:

fld f0, 0(x1)

fmul.d f4, f0, f2

fsd f4, 0(x1)

fsub.d f4, f10, f14

addi x1, x1, 8

bne x1, x2, Loop // branches if x1 /= x2

Assume the following latencies: (a) fld/fsd: 1 cycle (b) fsub.d:2 cycles (c) addi/bne: 1 cycle (d) fmul.d: 6 cycles

Execute the code using hardware-based speculation andmultiple issue. Show theexecution by reusing the table shown in Figure 3.24 below. Assumeissue width of 2. (a) Show the status of associated reservationstations, reorder buffer, and registers after issuing the first twoinstructions in cycle 1.

Read Write Issues xecutes access CDB at Commits at clock at clock at clock lock 

<div class=

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post