64-bit mn10300 prologue bug

Jeffrey A Law law@cygnus.com
Thu May 18 12:40:00 GMT 2000


  In message < orya57mzp7.fsf@saci.lsd.ic.unicamp.br >you write:
  > --=-=-=
  > 
  > This patch arranges for an alpha-x-mn10300 cross compiler to generate:
  > 
  >         add -4,sp
  > 
  > instead of the 3 bytes longer yet equivalent instruction:
  > 
  >         add 4194300,sp
  > 
  > While I was at it, I modified some types so that we'll get correct
  > code on 16-bit hosts, as well as 32-bit and 64-bit ones.
  > 
Wouldn't it make more sense to make size an "unsigned HOST_WIDE_INT"?

If that works, consider it approved.


jeff



More information about the Gcc-patches mailing list