[Bug target/110591] [i386] (Maybe) Missed optimisation: _cmpccxadd sets flags

2023-11-30 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591 liuhongt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolutio

[Bug target/110591] [i386] (Maybe) Missed optimisation: _cmpccxadd sets flags

2023-07-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110591 --- Comment #5 from Hongtao.liu --- Fixed in GCC14.

[Bug target/110591] [i386] (Maybe) Missed optimisation: _cmpccxadd sets flags

2023-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
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

[Bug target/110591] [i386] (Maybe) Missed optimisation: _cmpccxadd sets flags

2023-07-09 Thread crazylht at gmail dot com via Gcc-bugs
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.

[Bug target/110591] [i386] (Maybe) Missed optimisation: _cmpccxadd sets flags

2023-07-09 Thread crazylht at gmail dot com via Gcc-bugs
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

[Bug target/110591] [i386] (Maybe) Missed optimisation: _cmpccxadd sets flags

2023-07-09 Thread crazylht at gmail dot com via Gcc-bugs
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.