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] Provide default for GO_IF_MODE_DEPENDENT_ADDRESS


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


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