[Bug c++/27836] Compiler generates bad assembler code for xaddl __asm__ function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 31 14:39:00 GMT 2006



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-05-31 14:38 -------

        __asm__ __volatile__(
                "lock;xaddl %0, %1"
                :"=r"(i)
                :"m"(*p), "0"(i));


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27836



More information about the Gcc-bugs mailing list