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:

    By constant dripping, water hollows stone,
    A signet-ring from use alone grows thin,
    And the curved plowshare by soft earth is worn.
    Ovid (Publius Ovidius Naso)

    I’m folding up my little dreams
    Within my heart tonight,
    And praying I may soon forget
    The torture of their sight.
    Georgia Douglas Johnson (1886–1966)

    Although its growth may seem to have been slow, it is to be remembered that it is not a shrub, or plant, to shoot up in the summer and wither in the frosts. The Red Cross is a part of us—it has come to stay—and like the sturdy oak, its spreading branches shall yet encompass and shelter the relief of the nation.
    Clara Barton (1821–1912)

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