[Bug target/98303] cmov seems not to swap condition during RA

2021-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98303

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #2 from Andrew Pinski  ---
Dup of bug 97968.

*** This bug has been marked as a duplicate of bug 97968 ***

[Bug target/98303] cmov seems not to swap condition during RA

2021-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98303

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Severity|normal  |enhancement
Summary|[x86] Bad register  |cmov seems not to swap
   |allocation when reproducing |condition during RA
   |assembly code   |
   Last reconfirmed||2021-09-18

--- Comment #1 from Andrew Pinski  ---
This is the case where register allocator and cmov's (and 2 operands) don't get
along.