Homework
Computer Organization II, Autumn 2006, HW 6
These questions will be covered in practise sessions during the week 41 (9-13.10.2006)
Problems 2-5 are based on week 41 lectures.
Please remember to give course feedback. Thanks.
- [2 hwp] Problem 14.6 [Stal06] (14.6 [Stal03]) (13.6 [Stal99])
Please note, that the comment fields given for instructions (I4) and (I6) are wrong.
- Control speculation is presented for a situation where load-instruction is hoisted above one (conditional) branch.Similarly, data speculation is presented in a situation where load-instruction is hoisted above one store-instruction.
- How does control speculation situation change if there would be no branch-instructions between the hoisted instruction location and the original location?
- How does data speculation situation change if there would be no store-instructions between the hoisted instruction location and the original location?
- How does control speculation situation change if there would be two branch-instructions in between?
- How does data speculation situation change if there would be store-instructions in between?
- Could one get the same effect with predicates? How or why not?
- How does the IA-64 register stack differ from the RISC-architecture register window presented earlier? What do they have in common?
- Problems 16.1 and 16.2 [Stal06] (16.1, 16.2 [Stal03]) (14.1, 14.2[Stal99])
- Problems 17.4 and 17.5 [Stal06] (17.4, 17.5 [Stal03]) (15.4, 15.5[Stal99])
Note that the "mikro-operation field" and "address selection field" are part of the "Control" field in Fig 17.7 (15.7 [Stal99]) just like in Fig 17.6 (15.6 [Stal99]).
">Teemu Kerola