Sethi–Ullman algorithm

In computer science, the Sethi–Ullman algorithm is an algorithm named after Ravi Sethi and Jeffrey D. Ullman, its inventors, for translating abstract syntax trees into machine code that uses as few registers as possible. == Overview == When generating code for arithmetic expressions, the compiler has to decide which is the best way to translate the expression in terms of number of instructions used as well as number of registers needed to evaluate a certain subtree.

Source: Wikipedia — Sethi–Ullman algorithm (CC BY-SA 4.0)

Sethi–Ullman algorithm

In computer science, the Sethi–Ullman algorithm is an algorithm named after Ravi Sethi and Jeffrey D. Ullman, its inventors, for translating abstract syntax trees into machine code that uses as few registers as possible. == Overview == When generating code for arithmetic expressions, the compiler has to decide which is the best way to translate the expression in terms of number of instructions used as well as number of registers needed to evaluate a certain subtree.

Source: Wikipedia "Sethi–Ullman algorithm" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy