This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: AM33: SP-based offsets are zero-extended
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: AM33: SP-based offsets are zero-extended
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 01 Apr 2000 15:56:26 -0700
- cc: binutils at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
--
Jeff Law (law@cygnus.com)
Cygnus Solutions EGCS GNU Compiler System
http://www.cygnus.com http://www.cygnus.com/egcs
In message <oraejdcwfx.fsf@zecarneiro.lsd.ic.unicamp.br>you write:
> --=-=-=
>
> On Apr 1, 2000, Jeffrey A Law <law@cygnus.com> wrote:
>
> >> * m10300-opc.c: SP-based offsets are always unsigned.
>
> > This is fine. Can you please install a regression test into the assemble
> r
> > for this bug?
>
> Here's the patch to catch this error in the testsuite. Ok to install?
>
>
> --=-=-=
> Content-Type: text/x-patch
> Content-Disposition: inline; filename=am33-fix-gas-tests.patch
>
> Index: gas/testsuite/ChangeLog
> from Alexandre Oliva <aoliva@cygnus.com>
>
> * gas/mn10300/am33_5.s: Check that negative SP offsets are encoded
> with 32 bits, not with the unsigned shorter opcodes.
> * gas/mn10300/basic.exp: Likewise.
This is fine. Please install it.
Thanks,
jeff