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

Discussion

Machine dependent optimisation includes

  • A.instruction selection and scheduling for the target pipeline
  • B.folding away expressions whose value is known before the program runs
  • C.dead code elimination over the intermediate representation
  • D.sharing a repeated computation inside one straight line stretch of code

Answer: A

Choosing instructions and ordering them for a particular pipeline requires knowledge of the machine. The other three improve the intermediate form regardless of the target. That division is what allows a front end to be shared across machines.

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

Post your comment

Please log in or register to post a comment.