Re: Loop invariant code corrupting xstormy16 insn

2007-06-05 Thread Zdenek Dvorak
Hello, > >>>(parallel [ > >>> (set (pc) > >>> (if_then_else (lt:SI (reg:SI 45)<--- > >>>(reg:SI 26)) > >>> (label_ref:HI 129) > >>> (pc))) > >>>

Re: Loop invariant code corrupting xstormy16 insn

2007-06-05 Thread Nick Clifton
Hi Zdenek, (parallel [ (set (pc) (if_then_else (lt:SI (reg:SI 45)<--- (reg:SI 26)) (label_ref:HI 129) (pc))) (clobber (reg:SI 45))

Re: Loop invariant code corrupting xstormy16 insn

2007-06-05 Thread Zdenek Dvorak
Hello, > > I think that I have found a small bug in the loop invariant code. > > The problem is exhibited when building newlib for the xstormy16-elf > > toolchain although it may happen with other targets as well. The > > problem occurs when an insn contains an r-value use of a register >

Re: Loop invariant code corrupting xstormy16 insn

2007-06-05 Thread Zdenek Dvorak
> > I think that I have found a small bug in the loop invariant code. > > The problem is exhibited when building newlib for the xstormy16-elf > > toolchain although it may happen with other targets as well. The > > problem occurs when an insn contains an r-value use of a register > > that is

Re: Loop invariant code corrupting xstormy16 insn

2007-06-05 Thread Zdenek Dvorak
Hello, > I think that I have found a small bug in the loop invariant code. > The problem is exhibited when building newlib for the xstormy16-elf > toolchain although it may happen with other targets as well. The > problem occurs when an insn contains an r-value use of a register > that