This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AM33: SP-based offsets are zero-extended





--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]