This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [arm] Fix contraints on addsi3_cbranch_scratch
On Tue, 2004-10-05 at 14:30, Paul Brook wrote:
> On Tuesday 05 October 2004 14:08, Paul Brook wrote:
> > The following patch fixes the constaints on the thumb
> > addsi3_cbranch_scratch pattern. It looks like these were reversed (the two
> > argument allows a larger immediate operand). This was causing the folloing
> > thumb filure on
> > arm-noneeabi:
> >
> > FAIL: gcc.c-torture/execute/20000412-4.c compilation, -O3
> > -fomit-frame-pointer
> >
> > I also changed the output code to correctly handle negative constants using
> > the "sub" instructions.
> >
> > Tested with cross to arm-none-eabi.
> > Ok?
>
> 2004-01-01 Paul Brook <paul@codesourcery.com>
>
> * config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
> Handle negative constants.
OK.
R.