[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2020-11-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #11 from Uroš Bizjak --- (In reply to rguent...@suse.de from comment #8) > Sure. Another option would be to enhance STV even further > (or add some peephole patterns - combine runs before STV2) to > transform the > > psubd

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-12-16 Thread wwwhhhyyy333 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 Hongyu Wang changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-12-16 Thread liuhongt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #9 from liuhongt at gcc dot gnu.org --- Author: liuhongt Date: Tue Dec 17 01:50:35 2019 New Revision: 279452 URL: https://gcc.gnu.org/viewcvs?rev=279452&root=gcc&view=rev Log: Add abs pattern to handle {si,di} mode abs to avoid pmax/c

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-26 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #8 from rguenther at suse dot de --- On Tue, 26 Nov 2019, wwwhhhyyy333 at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 > > --- Comment #7 from Hongyu Wang --- > (In reply to rguent...@suse.de from comme

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-26 Thread wwwhhhyyy333 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #7 from Hongyu Wang --- (In reply to rguent...@suse.de from comment #6) > On Tue, 26 Nov 2019, wwwhhhyyy333 at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 > > > > --- Comment #4 from Hongyu Wang --

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-26 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #6 from rguenther at suse dot de --- On Tue, 26 Nov 2019, wwwhhhyyy333 at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 > > --- Comment #4 from Hongyu Wang --- > (In reply to Richard Biener from comment

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread wwwhhhyyy333 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #5 from Hongyu Wang --- (In reply to Jakub Jelinek from comment #3) > Do you mean r274481 rather than r277481, right? Yes. Thanks for your correction.

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread wwwhhhyyy333 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #4 from Hongyu Wang --- (In reply to Richard Biener from comment #2) > Btw, which variant is actually the fastest for you? abs expansion doesn't > do any cost comparison but just uses direct abs, max and then the xor with > shift as

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 --- Comment #2 from Richard Biener --- Btw, which variant is actually the fastest for you? abs expansion doesn't do any cost comparison but just uses direct abs, max and then the xor with shift as third option (and after that fall back to compa

[Bug target/92651] [10 Regression] Unnecessary stv transform in some x86 backend

2019-11-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651 Richard Biener changed: What|Removed |Added Keywords||missed-optimization CC|