This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]