This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] - remove deprecated REG_LIBCALL / REG_RETVAL from sh.md


> 2004-08-12  Toshiyasu Morita  <tm@kloo.net>
> 
> 	* config/sh/sh.md: Remove deprecated REG_LIBCALL /
> 	REG_RETVAL NOTES from mul / div insns.
> 

On second thought, this patch is OK.

Rationale:

cse and combine are hindered rather than helped by REG_LIBCALL / REG_RETVAL
notes.
The other things we do to make the rtl more intelligible for the
rtl optimizers are still important, though: using sfunc patterns that
show the actual operation code and exact register usage rather than a call,
and tagging on REG_EQUAL notes.


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