Professional Documents
Culture Documents
Tech
Microprocessors and Computer Architecture CSE – II
HANDOUT
Assignment No: 11
ERING
S. Y. B. Tech
Microprocessors and Computer Architecture CSE – II
ERING
S. Y. B. Tech
Microprocessors and Computer Architecture CSE – II
instruction writes to a data location that a previous instruction reads from. The
later instruction must wait for the previous instruction to complete its read
before it can write to the same location.
2. Control Hazards: Control hazards occur due to changes in the program flow
caused by branch instructions (e.g., conditional branches, jumps). They can
disrupt the sequential execution of instructions and impact ILP. There are two
common types of control hazards:
b. Indirect Branch Hazards: Indirect branch hazards occur when the target of
a branch instruction is determined dynamically at runtime. The target address
is not known until the instruction executes, making it challenging to predict
and resolve the hazard efficiently.
These hazards impact ILP by introducing stalls or pipeline bubbles, where the
processor has to delay instruction execution or insert idle cycles. Techniques
such as forwarding, data forwarding, branch prediction, and instruction
scheduling are employed to mitigate these hazards and improve ILP by
allowing instructions to execute in parallel whenever possible.
ERING
S. Y. B. Tech
Microprocessors and Computer Architecture CSE – II
Conclusion
ERING
S. Y. B. Tech
Microprocessors and Computer Architecture CSE – II
ERING