Constant Folding - Constant Folding and Cross Compilation

Constant Folding and Cross Compilation

In implementing a cross compiler, care must be taken to ensure that the behaviour of the arithmetic operations on the host architecture matches that on the target architecture, as otherwise enabling constant folding will change the behaviour of the program. This is of particular importance in the case of floating point operations, whose precise implementation may vary widely.

Read more about this topic:  Constant Folding

Famous quotes containing the words constant, folding, cross and/or compilation:

    We can never establish with certainty what part of our relations with others is the result of our emotions—love, antipathy, charity, or malice—and what part is predetermined by the constant power play among individuals.
    Milan Kundera (b. 1929)

    A little sleep, a little slumber, a little folding of the hands to rest, and poverty will come upon you like a robber, and want, like an armed warrior.
    Bible: Hebrew, Proverbs 6:10.

    As I was going by Charing Cross,
    I saw a black man upon a black horse;
    They told me it was King Charles the First—
    —Unknown. As I was going by Charing Cross (l. 1–3)

    The United States Constitution has proved itself the most marvelously elastic compilation of rules of government ever written.
    Franklin D. Roosevelt (1882–1945)