[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2014-12-22 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #21 from Oleg Endo --- Author: olegendo Date: Mon Dec 22 18:53:44 2014 New Revision: 219030 URL: https://gcc.gnu.org/viewcvs?rev=219030&root=gcc&view=rev Log: gcc/testsuite/ PR target/58314 * gcc.target/sh/torture/pr58314-2.c

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-12-06 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 Oleg Endo changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-12-06 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #19 from Oleg Endo --- Author: olegendo Date: Fri Dec 6 19:34:23 2013 New Revision: 205759 URL: http://gcc.gnu.org/viewcvs?rev=205759&root=gcc&view=rev Log: Backport from mainline 2013-11-26 Oleg Endo PR target/58314

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-26 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #18 from Oleg Endo --- Author: olegendo Date: Tue Nov 26 11:48:16 2013 New Revision: 205390 URL: http://gcc.gnu.org/viewcvs?rev=205390&root=gcc&view=rev Log: PR target/58314 PR target/50751 * config/sh/sh.c (max_mov_insn_d

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-26 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #17 from chrbr at gcc dot gnu.org --- > Although not fully tested yet, could you guys please have a look at it? > Christian, does it fix your Linux build problems, or are there still more / > new ones? the 2.6.32 kernel build is fixed.

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-24 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #16 from Kazumoto Kojima --- With the patch, no new failures on trunk for sh4-unknown-linux-gnu assumed the patch for PR59243.

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-24 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #15 from chrbr at gcc dot gnu.org --- Thanks Oleg, I'll give it a try for 4.8.3

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-23 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #14 from Oleg Endo --- Created attachment 31283 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31283&action=edit re-work movqi / movhi insns The attached patch seems to fix the problem. It removes the questionable reg_reg pattern

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-22 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #13 from Oleg Endo --- BTW, using the "m" constraint for QImode and HImode in inline asm is dangerous. It's very easy to create wrong code with it. For example: struct test_struct { unsigned short a, b, c, d; }; void test (struct

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-22 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #12 from Oleg Endo --- (In reply to Oleg Endo from comment #10) > > FAIL: gcc.dg/torture/vshuf-v16hi.c -O2 (test for excess errors) > Excess errors: > /usr/local/sh-elf/bin/ld: internal error: merge of architecture 'sh3e' with > arc

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-22 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #11 from Oleg Endo --- (In reply to Oleg Endo from comment #10) > > This usually happens because SH2A insns are output -- 32 bit displacement > addressing insns which are more flexible -- even though the target is > non-SH2A. This is

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-22 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #10 from Oleg Endo --- (In reply to Oleg Endo from comment #9) > > I'm testing the above patch now. And there are failures. Here is one (I think I remember it when working on the QI/HImode displacement addressing stuff): FAIL: gcc.

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-21 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 Oleg Endo changed: What|Removed |Added CC||kkojima at gcc dot gnu.org --- Comment #9 fro

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #8 from Oleg Endo --- Created attachment 31260 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31260&action=edit reduced test case (In reply to chrbr from comment #6) > Created attachment 31257 [details] > test case > > cc1 -O2 c

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #7 from Oleg Endo --- (In reply to chrbr from comment #5) > Linux kernel build fails since 4.8 > > cc1 -O2 consolemap.c > > drivers/char/consolemap.c:654:647: error: 'asm' operand requires impossible > reload > > seems to be due to

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #6 from chrbr at gcc dot gnu.org --- Created attachment 31257 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31257&action=edit test case cc1 -O2 consolemap.c -quiet drivers/char/consolemap.c:654:647: error: 'asm' operand requires

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-11-20 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-09-13 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-09-13 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #3 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Sep 13 08:38:22 2013 New Revision: 202559 URL: http://gcc.gnu.org/viewcvs?rev=202559&root=gcc&view=rev Log: 2013-09-13 Christian Bruel PR target/58314 * c

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-09-13 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #2 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Sep 13 07:51:07 2013 New Revision: 202557 URL: http://gcc.gnu.org/viewcvs?rev=202557&root=gcc&view=rev Log: 2013-09-13 Christian Bruel PR target/58314 * c

[Bug target/58314] SH4 error: 'asm' operand requires impossible reload

2013-09-12 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 chrbr at gcc dot gnu.org changed: What|Removed |Added Component|c |target --- Comment #1 from chrb