[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2018-09-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2018-09-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 --- Comment #1 from Jakub Jelinek --- With the to be posted patch, f1 and f3 remains the same, f2 and f4 improves: - movl%edi, %eax - sarl$31, %eax - shrl$28, %eax - addl%eax, %edi + xorl%eax, %ea

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2018-09-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 --- Comment #2 from Jakub Jelinek --- Created attachment 44681 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44681&action=edit gcc9-pr87287.patch Untested fix.

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2018-09-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Sep 13 07:36:50 2018 New Revision: 264260 URL: https://gcc.gnu.org/viewcvs?rev=264260&root=gcc&view=rev Log: PR tree-optimization/87287 * fold-const.c (fold_binary_loc

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2018-09-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target Milestone|-

[Bug tree-optimization/87287] Move signed (x % pow2) == 0 optimization to gimple

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287 Andrew Pinski changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5