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/25229] __sync_add_and_fetch cannot use condition flags from subl



------- Comment #2 from bcrl at kvack dot org  2005-12-02 20:06 -------
The attached program should generate code that looks something like:

fput:
 addl $-1,(%rdi)
 jne .L4
 jmp release
.L4:
 ret


-- 


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


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