CPUs and architecture

In an out-of-order CPU, which mechanism commits (retires) the results of instructions executed out of order in the program's original order?

  1. AReorder buffer
  2. BSnoop filter
  3. CTLB
Show answer and explanation

Answer: A. Reorder buffer

The reorder buffer holds results of instructions executed out of order and commits (retires) them in program order; in high-performance cores it spans hundreds of instructions. On a branch misprediction or exception, results of later instructions are discarded to restore the correct state, so execution appears to follow program order from the outside (precise exceptions).

  • A. Correct. It commits results in the original order.
  • B. A snoop filter reduces cache-coherence traffic.
  • C. The TLB is a cache for address translations.