[Bug middle-end/114547] comparison than less than 0 (or greater or equal to than 0) after a subtraction does not use the flags regster

2024-04-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 Uroš Bizjak changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug middle-end/114547] comparison than less than 0 (or greater or equal to than 0) after a subtraction does not use the flags regster

2024-04-01 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 --- Comment #2 from gooncreeper --- (In reply to Andrew Pinski from comment #1) > I am not sure this is always better ... sets and setns are 1 uop, just like any other setcc why wouldn't it be better?

[Bug middle-end/114547] comparison than less than 0 (or greater or equal to than 0) after a subtraction does not use the flags regster

2024-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114547 Andrew Pinski changed: What|Removed |Added Summary|missed-optimization: use|comparison than less than 0