Machine-translated by Google. Questions are authored in English.
Top

Discussion

Peephole optimisation examines

  • A.the whole procedure to find global improvements
  • B.the intermediate code before any target code exists
  • C.the symbol table to remove unused entries
  • D.a short window of adjacent target instructions

Answer: D

The window slides over the generated code and recognised patterns are replaced. Redundant loads and stores, jumps to jumps and unreachable code are the usual targets. The pass is cheap enough to run after every other transformation.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.