{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

A-02 - cycle 2-|-cycle 3-| I EX WB(CDB I EX WB(CDB foo L.D...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
a. For this problem use the single-issue Tomasulo MIPS pipeline of Figure 3.2 with the pipeline latencies from table above. Show the number of stall cycles for each instruction and what clock cycles each instruction begins execution (i.e., enters its first EX cycle) for three iterations of the loop. How many clock cycles does each loop iteration take? Report your answer in the form of a table like that in Figure 3.25. Assume 1 CDB, only 1 WB per cycle at a time Solution Here is the first iteration, and beginning of second iteration (fill out the third iteration in the same manner) (This is with a pipelined FP FU) |------------------- cycle 1 --------------------|-------------------
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cycle 2--------------------|-------------------cycle 3--------------------| I EX WB (CDB) I EX WB (CDB) foo L.D F2, 0(R1) 1 2 3 10 11 12 MUL.D F4, F2, F0 2 4-18 19 11 13-27 28 L.D F6, 0(R2) 3 4 5 ADD F6, F4, F6 4 20-23 24 S.D F6, 0(R2) 5 25-DADDUI R1, R1, #8 6 7 8 DADDUI R2, R2, #8 7 8 9 DSGTUI R3, R1, #800 8 9 10 BEQZ R3,foo 9 10-Make sure to consider how many functional units are occupied. For instance, here is a table showing the instructions occupying the integer reservation stations for the first few cycles 1 2 3 4 5 6 7 8 9 10 11 …. N 1 st LD X X 2 nd LD S.D 1 st DADDUI 2 nd DADDUI DSGTUI...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern