[Bug rtl-optimization/82259] missed optimization: use LEA to add 1 to flip the low bit when copying before AND with 1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82259 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > Created attachment 51248 [details] > patch for the eq issue > > This is the patch for the eq issue Of course after that we get: (set (reg:QI 92) (xor:QI

[Bug rtl-optimization/82259] missed optimization: use LEA to add 1 to flip the low bit when copying before AND with 1

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82259 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Ever confirmed|0