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

Discussion

One machine instruction covering several intermediate operations at once means that instruction selection is

  • A.a covering problem rather than a one to one translation
  • B.impossible to perform without first allocating the registers
  • C.restricted to machines with only a single addressing mode
  • D.a task that belongs properly to the front end of the compiler

Answer: A

A single load with a scaled index may realise a multiplication, an addition and a memory access together. Because one pattern can cover several nodes, the selector must decide how to tile the whole tree rather than translating each operation in isolation.

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

Post your comment

Please log in or register to post a comment.