[Bug target/52898] SH Target: Inefficient DImode comparisons

2018-11-19 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #14 from Oleg Endo --- Thanks for the reminder. The issue hasn't been fully resolved. Please leave this PR open. This will be helpful when getting back to the issue.

[Bug target/52898] SH Target: Inefficient DImode comparisons

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

[Bug target/52898] SH Target: Inefficient DImode comparisons

2017-02-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/52898] SH Target: Inefficient DImode comparisons

2016-05-01 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #11 from Oleg Endo --- Author: olegendo Date: Mon May 2 05:25:46 2016 New Revision: 235698 URL: https://gcc.gnu.org/viewcvs?rev=235698=gcc=rev Log: gcc/ PR target/52898 * config/sh/sh.c (sh_option_override): Remove

[Bug target/52898] SH Target: Inefficient DImode comparisons

2016-05-01 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #10 from Oleg Endo --- For a case like int test3 (long long a) { return a == 40; } what happens on SH2+ during RTL expansion: cstoredi4 -> sh_emit_compare_and_set -> sh_emit_scc_to_t -> force operands to regs

[Bug target/52898] SH Target: Inefficient DImode comparisons

2013-12-08 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #9 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Sun Dec 8 22:15:59 2013 New Revision: 205794 URL: http://gcc.gnu.org/viewcvs?rev=205794root=gccview=rev Log: PR target/52898 PR target/51697 *

[Bug target/52898] SH Target: Inefficient DImode comparisons

2013-12-07 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #7 from Oleg Endo olegendo at gcc dot gnu.org --- Kaz, I'd like to deprecate the mcbranchdi and mcmpeqdi options in 4.9 and make the current default values fixed as follows: mcbranchdi is usually enabled (it gets disabled in some SH5

[Bug target/52898] SH Target: Inefficient DImode comparisons

2013-12-07 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #8 from Kazumoto Kojima kkojima at gcc dot gnu.org --- I'm OK with it.

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-09-01 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #6 from Oleg Endo olegendo at gcc dot gnu.org 2012-09-01 22:47:26 UTC --- I had a closer look at what is going on with cbranchdi and cmpeqdi_t. If cmpeqdi_t is enabled through the option -mcmpeqdi it will trigger the 'if

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-04-12 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org 2012-04-12 06:19:44 UTC --- (In reply to comment #3) (In reply to comment #2) I don't know about their history. -mcbranchdi is enabled by default, though. See

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-04-12 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #5 from Oleg Endo olegendo at gcc dot gnu.org 2012-04-12 06:59:47 UTC --- (In reply to comment #4) I would propose to deprecate -mcbranchdi and -mcmpeqdi and hard-code the 'enabled' behavior, i.e. remove all the non-mcbranchdi and

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-04-11 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #1 from Oleg Endo olegendo at gcc dot gnu.org 2012-04-11 22:48:18 UTC --- Created attachment 27138 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27138 Examples In addition to the original case, I've noticed that there are more

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-04-11 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added CC||kkojima at gcc dot

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-04-11 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #3 from Kazumoto Kojima kkojima at gcc dot gnu.org 2012-04-12 01:13:15 UTC --- (In reply to comment #2) I don't know about their history. -mcbranchdi is enabled by default, though. See