[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 olegendo at gcc dot gnu.org --- Author: olegendo Date: Mon Dec 22 18:53:44 2014 New Revision: 219030 URL: https://gcc.gnu.org/viewcvs?rev=219030root=gccview=rev Log: gcc/testsuite/ PR target/58314 *

[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 olegendo at gcc dot gnu.org --- Author: olegendo Date: Fri Dec 6 19:34:23 2013 New Revision: 205759 URL: http://gcc.gnu.org/viewcvs?rev=205759root=gccview=rev Log: Backport from mainline 2013-11-26 Oleg

[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 olegendo at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[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-26 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #18 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Tue Nov 26 11:48:16 2013 New Revision: 205390 URL: http://gcc.gnu.org/viewcvs?rev=205390root=gccview=rev Log: PR target/58314 PR target/50751 *

[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-24 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #16 from Kazumoto Kojima kkojima at gcc dot gnu.org --- 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-23 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #14 from Oleg Endo olegendo at gcc dot gnu.org --- Created attachment 31283 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31283action=edit re-work movqi / movhi insns The attached patch seems to fix the problem. It removes the

[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 olegendo at gcc dot gnu.org --- (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

[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 olegendo at gcc dot gnu.org --- (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

[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 olegendo at gcc dot gnu.org --- (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

[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 olegendo at gcc dot gnu.org --- 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,

[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 olegendo at gcc dot gnu.org changed: What|Removed |Added CC||kkojima at gcc dot

[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-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=31257action=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 olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58314 --- Comment #7 from Oleg Endo olegendo at gcc dot gnu.org --- (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

[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 olegendo at gcc dot gnu.org --- Created attachment 31260 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31260action=edit reduced test case (In reply to chrbr from comment #6) Created attachment 31257 [details]

[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=202557root=gccview=rev Log: 2013-09-13 Christian Bruel christian.br...@st.com PR

[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=202559root=gccview=rev Log: 2013-09-13 Christian Bruel christian.br...@st.com PR

[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

[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