Homework P&H Ch. 4


Answer the following questions about Patterson and Hennessy, Chapter 4 and the register renaming web pages. You only need to turn in those that have a point count assigned.

  1. (1 point) Briefly describe the three kinds of data hazards.
  2. (2 points) Complete the following register renaming table.
    Instruction $f2 $f4 $f6 $f8 Renamed Instruction
    initial values V0 V1 V2 V3
    mul.d $f4, $f6, $f2
    sub.d $f6, $f2, $f6
    div.d $f6, $f4, $f2
    add.d $f2, $f2, $f4
  3. (1 point) Describe the life-cycle of an instruction in the register renaming architecture.
  4. (1 point) What is superscalar execution?
  5. (1 point) What is speculative execution?