mn10300/AM33: missing ASHIFT, AND and LABEL_REF in address_cost function

Jeffrey A Law law@cygnus.com
Wed Apr 26 11:16:00 GMT 2000


  In message < orem7t5o6g.fsf@zecarneiro.lsd.ic.unicamp.br >you write:
  > --=-=-=
  > 
  > Oh, shift! :-) :-)  Here are a few more cases I wasn't handling
  > correctly.  This patch replaces the previous one.  Ok to install?
  > 
  > 
  > --=-=-=
  > Content-Type: text/x-patch
  > Content-Disposition: inline; filename=am33-gcc-address-oops.patch
  > 
  > Index: gcc/ChangeLog
  > by  Alexandre Oliva  <aoliva@cygnus.com>
  > 
  > 	* config/mn10300/mn10300.c (mn10300_address_cost): Test
  > 	ASHIFT, AND and LABEL_REF.
Fine.  Presumably it does not have a negative impact on code size, right?

Actually, I'm rather surprised that ASHIFT/AND show up in address calculations
on the mn103.

jeff



More information about the Gcc-patches mailing list