[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2018-11-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #14

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-08-11 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Yuri Rumyantsev changed: What|Removed |Added CC||ysrumyan at gmail dot com --- Comment

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-05-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Tue May 3 11:45:04 2016 New Revision: 235816 URL: https://gcc.gnu.org/viewcvs?rev=235816&root=gcc&view=rev Log: PR rtl-optimization/70467 * config/i386/predicates.md (x8

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-05-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon May 2 16:46:10 2016 New Revision: 235765 URL: https://gcc.gnu.org/viewcvs?rev=235765&root=gcc&view=rev Log: PR rtl-optimization/70467 * cse.c (cse_insn): Handle no-o

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-05-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Mon May 2 16:17:02 2016 New Revision: 235764 URL: https://gcc.gnu.org/viewcvs?rev=235764&root=gcc&view=rev Log: PR rtl-optimization/70467 * ipa-pure-const.c (check_call)

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Apr 1 16:08:21 2016 New Revision: 234679 URL: https://gcc.gnu.org/viewcvs?rev=234679&root=gcc&view=rev Log: PR rtl-optimization/70467 * config/i386/i386.md (*add3_dou

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Jakub Jelinek changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment #8 f

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #7 from Jakub Jelinek --- That is correct expectation, but the problem is that no pass that uses it actually manages to update the insn. As I said earlier, the combiner doesn't trigger, because there is just a single insn, nothing to

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #6 from Richard Biener --- I would have expected simplify_rtx to eventually handle all interesting cases.

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #5 from Jakub Jelinek --- For the logicals, e.g. the following works: --- gcc/optabs.c.jj 2016-02-16 16:15:17.0 +0100 +++ gcc/optabs.c2016-03-31 12:53:37.571337401 +0200 @@ -1136,6 +1136,37 @@ expand_binop (machine

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #4 from Ruslan --- (In reply to Jakub Jelinek from comment #3) > ... > nothing there is able to optimize & -1 (and similarly | or ^ 0, or & 0, or | > -1). Just a note: the same happens for arithmetic operations, not just bitwise. E.g

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|