This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: About Regmove !!
- From: Jeff Law <law at porcupine dot cygnus dot com>
- To: tm <tm at mail dot kloo dot net>
- Cc: Michael Matz <matz at suse dot de>, joern dot rennecke at superh dot com, gcc at gcc dot gnu dot org
- Date: Mon, 18 Nov 2002 10:20:13 -0700
- Subject: Re: About Regmove !!
- Reply-to: law at redhat dot com
In message <Pine.LNX.4.21.0211121718270.13111-100000@mail.kloo.net>, tm
writes:
>Is there a particular reference you have in mind which covers handling
>addressing inheritance in GCSE?
It's covered in the usual places. Morgan & Muchnick both discuss it at
various levels of detail. It'll be in the section on integration strength
reduction with global cse (lcm)
>To me, it seems very awkward to have address inheritance handled by GCSE.
It's actually quite natural. Far more so than the ad-hoc mess in regmove.
>In order to generate efficient address inheritance, the addressing mode of
>an instruction may need to be changed. This implies GCSE will need to
>understand all of the target CPU's addressing modes and allowable
>displacements for each one.
Already handled by GO_IF_LEGITIMATE_ADDRESS.
jeff