This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - remove deprecated REG_LIBCALL / REG_RETVAL from sh.md
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: tm_gccmail at kloo dot net
- Cc: gcc-patches at gcc dot gnu dot org, joern dot rennecke at superh dot com, s dot bosscher at student dot tudelft dot nl (Steven Bosscher)
- Date: Thu, 19 Aug 2004 12:40:58 +0100 (BST)
- Subject: 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.