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

Discussion

Indirect triples represent a program as

  • A.triples in which every operand is itself a triple
  • B.quadruples with the result field left permanently empty
  • C.three separate arrays holding operators and operands
  • D.a list of pointers into an array of triples

Answer: D

Reordering then means permuting the pointer list while the triples themselves stay put. This restores the reorderability of quadruples while still sharing identical subexpressions. The extra indirection costs one memory reference per access.

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

Post your comment

Please log in or register to post a comment.