AM33: SP-based offsets are zero-extended

Jeffrey A Law law@cygnus.com
Sat Apr 1 14:56:00 GMT 2000


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



More information about the Binutils mailing list