This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Provide default for GO_IF_MODE_DEPENDENT_ADDRESS
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 21 Apr 2009 23:54:55 -0400 (EDT)
- Subject: Re: [PATCH] Provide default for GO_IF_MODE_DEPENDENT_ADDRESS
- References: <20090421151420.GA1752@fencepost.gnu.org>
On Tue, 21 Apr 2009, Paolo Bonzini wrote:
> This patch deletes GO_IF_MODE_DEPENDENT_ADDRESS for ports that have it
> empty or (in the case of ARM) redundant, since autoincrement/autodecrement
> modes are handled in recog.c.
>
> Ok?
IMHO obvious, but
> Index: gcc/defaults.h
> ===================================================================
> --- gcc/defaults.h (branch misc-cleanup)
> +++ gcc/defaults.h (working copy)
> @@ -954,4 +954,9 @@ along with GCC; see the file COPYING3.
> #define ATTRIBUTE_ALIGNED_VALUE BIGGEST_ALIGNMENT
> #endif
>
> +/* Many ports have no mode-dependent addresses. */
maybe add "besides AUTO_INC_DEC addresses, which are covered by
the generic code" to avoid the implicit exception.
brgds, H-P