https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
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
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87287
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Target Milestone|-
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