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:

    Language is like soil. However rich, it is subject to erosion, and its fertility is constantly threatened by uses that exhaust its vitality. It needs constant re-invigoration if it is not to become arid and sterile.
    Elizabeth Drew (1887–1965)

    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)

    Flood-tide below me! I see you face to face!
    Clouds of the west—sun there half an hour
    high—I see you also face to face.
    Crowds of men and women attired in the usual costumes, how curious you are to me!
    On the ferry-boats the hundreds and hundreds that cross, returning
    home, are more curious to me than you suppose,
    And you that shall cross from shore to shore years hence are more to me, and more in my meditations, than you might suppose.
    Walt Whitman (1819–1892)

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