Re: 8259A initialization with AMD SC520 chip (586)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue May 23 2000 - 13:31:02 EDT

  • Next message: Chris the Elder: "Spurious mouse movement in pre8"

    > (Use your imagination, preferably in C++). So GCC had a policy change
    > (after many years!) and now it removes empty loops.
    >
    > I don't know if it removes _explicit_ empty loops though.

    It does. A few kernel drivers got burned by that.

    It will optimise

            int l=1000;
            while(l--);

    but not

            volatile int l=1000;
            while(l--);

    Alan

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Tue May 23 2000 - 14:28:56 EDT