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:

    “Sigh no more Ladies, sigh no more
    Men were deceivers ever,
    One foote in Sea, and one on shore,
    To one thing constant never,”
    —William Shakespeare (1564–1616)

    “There’s only one way for an individual to remain upright, not to fall to pieces, not to sink into the mire of self-oblivion ... or self-contempt. That’s calmly to turn away from everything, to say, “Enough!” and, folding one’s useless arms across one’s empty breast, to retain the ultimate, the sole attainable virtue, the virtue of recognizing one’s own insignificance.”
    —Ivan Sergeevich Turgenev (1818–1883)

    “I know we’re not saints or virgins or lunatics; we know all the lust and lavatory jokes, and most of the dirty people; we can catch buses and count our change and cross the roads and talk real sentences. But our innocence goes awfully deep, and our discreditable secret is that we don’t know anything at all, and our horrid inner secret is that we don’t care that we don’t.”
    —Dylan Thomas (1914–1953)

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