mn10300/AM33: Simplify movhi patterns

Jeffrey A Law law@cygnus.com
Wed Apr 26 08:20:00 GMT 2000


  In message < orzoqh48gg.fsf@zecarneiro.lsd.ic.unicamp.br >you write:
  > --=-=-=
  > 
  > Interesting...  movqi tolerates input address registers better than
  > movhi.  I got best code size improvements with the patch below.  Ok to
  > install?
  > 
  > v mn10300-elf/am33/libio/libio.a 23690 23681
  > v mn10300-elf/am33/libio/libiostream.a 64949 64822
  > v mn10300-elf/am33/libstdc++/libstdc++.a 70787 70660
  > v mn10300-elf/am33/newlib/libc.a 47631 47596
  > v mn10300-elf/am33/newlib/libc/libc.a 46184 46149
  > v mn10300-elf/am33/newlib/libc/stdio/lib.a 16976 16967
  > v mn10300-elf/am33/newlib/libc/stdlib/lib.a 20345 20319
  > v mn10300-elf/am33/newlib/libg.a 47631 47596
  > 
  > 
  > --=-=-=
  > Content-Type: text/x-patch
  > Content-Disposition: inline; filename=am33-gcc-movhi.patch
  > 
  > Index: gcc/ChangeLog
  > from  Alexandre Oliva  <aoliva@cygnus.com>
  > 
  > 	* config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
  > 	registers.
OK.  Same comments as the movqi patch.

jeff



More information about the Gcc-patches mailing list