[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2008-09-08 Thread rdsandiford at googlemail dot com
--- Comment #12 from rdsandiford at googlemail dot com 2008-09-08 19:48 --- Subject: Re: gcc moves an expensive instruction outside of a conditional "daney at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: > Can we close this now? > > I think it is fixed. Sorry, this is still on th

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2008-09-07 Thread daney at gcc dot gnu dot org
--- Comment #11 from daney at gcc dot gnu dot org 2008-09-07 17:32 --- Can we close this now? I think it is fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28126

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-08-05 Thread anemo at mba dot ocn dot ne dot jp
--- Comment #10 from anemo at mba dot ocn dot ne dot jp 2006-08-05 15:48 --- (In reply to comment #9) > Created an attachment (id=12010) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12010&action=view) [edit] > A hackish fix I tried gcc 4.1 with this patch and compiled glibc 2.4.

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-08-03 Thread rsandifo at gcc dot gnu dot org
--- Comment #9 from rsandifo at gcc dot gnu dot org 2006-08-03 21:06 --- Created an attachment (id=12010) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12010&action=view) A hackish fix I agree with Kaz that a blockage would be a correct fix here. I'm just worried about the perfor

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-30 Thread rsandifo at gcc dot gnu dot org
--- Comment #8 from rsandifo at gcc dot gnu dot org 2006-07-30 10:56 --- Subject: Bug 28126 Author: rsandifo Date: Sun Jul 30 10:56:07 2006 New Revision: 115819 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115819 Log: gcc/ 2006-07-25 Atsushi Nemoto <[EMAIL PROTECTED]>

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-21 Thread anemo at mba dot ocn dot ne dot jp
--- Comment #7 from anemo at mba dot ocn dot ne dot jp 2006-07-21 16:34 --- (In reply to comment #6) > Thanks. With this patch, gcc 4.1.1 produces expected output. > It seems gcc 4.2 does not move rdhwr before branch without this patch, but I > can not see why. I tried to find the rea

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-13 Thread anemo at mba dot ocn dot ne dot jp
--- Comment #6 from anemo at mba dot ocn dot ne dot jp 2006-07-13 14:58 --- (In reply to comment #2) > Although I don't know much about the instruction scheduling, I had > a similar problem on SH and it was workarounded with emitting blockage > insns. The patch below might work for you

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-13 Thread anemo at mba dot ocn dot ne dot jp
--- Comment #5 from anemo at mba dot ocn dot ne dot jp 2006-07-13 14:42 --- Created an attachment (id=11881) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11881&action=view) do not put rdhwr instruction on delay slot With this patch, gcc 4.2 (with -O1, -O2) and gcc 4.1.1 with -O1

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-12 Thread drow at gcc dot gnu dot org
--- Comment #4 from drow at gcc dot gnu dot org 2006-07-12 16:08 --- (In reply to comment #3) > Is it OK to add (set_attr "can_delay" "no") for "tls_get_tp_" > definition? I think so, with suitable comment. Some future MIPS architecture may provide a register for this, in which case th

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-07-06 Thread anemo at mba dot ocn dot ne dot jp
--- Comment #3 from anemo at mba dot ocn dot ne dot jp 2006-07-06 16:20 --- Subject: Re: gcc moves an expensive instruction outside of a conditional One note: I think "rdhwr $v1, $29" should not be placed in delay slot anyway. The instruction always generate an exception, so if it w

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-06-21 Thread kkojima at gcc dot gnu dot org
--- Comment #2 from kkojima at gcc dot gnu dot org 2006-06-22 04:16 --- Although I don't know much about the instruction scheduling, I had a similar problem on SH and it was workarounded with emitting blockage insns. The patch below might work for you, though I'm not sure if it's the ri

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-06-21 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2006-06-21 16:33 --- Confirmed on: mipsel-linux-gcc (GCC) 4.2.0 20060605 (experimental) cross compiler configured as: ../gcc/configure --target=mipsel-linux --with-sysroot=/usr/local/mipsel-linux-test --prefix=/usr/local/mipsel-linux-tes