https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591
liuhongt at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolutio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591
--- Comment #5 from Hongtao.liu ---
Fixed in GCC14.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591
--- Comment #4 from CVS Commits ---
The master branch has been updated by hongtao Liu :
https://gcc.gnu.org/g:06cc38c1c350b34cbd6dde23aefca32442c07a73
commit r14-2595-g06cc38c1c350b34cbd6dde23aefca32442c07a73
Author: liuhongt
Date: Mon Jul
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591
--- Comment #3 from Hongtao.liu ---
Created attachment 55510
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55510&action=edit
untested patch.
Under testing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591
--- Comment #2 from Hongtao.liu ---
(In reply to Hongtao.liu from comment #1)
> I guess we can add a peephole for this, middle-end optimizer doesn't know
> cmpccxadd set EFLAGS same as cmp.
We already have a peephole for cmpxchg, for cmpxchg it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591
--- Comment #1 from Hongtao.liu ---
I guess we can add a peephole for this, middle-end optimizer doesn't know
cmpccxadd set EFLAGS same as cmp.