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

Joern Rennecke joern.rennecke@superh.com
Thu Aug 19 12:35:00 GMT 2004


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



More information about the Gcc-patches mailing list