[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc
Subject: Re: RFC: Plan for cleaning up the "Addressing Modes" macros
From: Zack Weinberg <zack () codesourcery ! com>
Date: 2005-02-28 20:47:22
Message-ID: 87sm3gmmxx.fsf () codesourcery ! com
[Download RAW message or body]
Richard Sandiford <rsandifo@redhat.com> writes:
> Zack Weinberg <zack@codesourcery.com> writes:
>> I have worked out a tentative plan for replacing most of these macros
>> with ordinary target hooks, and eliminating REG_OK_STRICT. I propose
>> to change GO_IF_LEGITIMATE_ADDRESS, GO_IF_MODE_DEPENDENT_ADDRESS,
>> LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS, REG_OK_FOR_BASE_P,
>> REG_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_REG_BASE_P,
>> REG_OK_FOR_INDEX_P, CONSTANT_ADDRESS_P, FIND_BASE_TERM, and
>> LEGITIMATE_CONSTANT_P. The other macros in this section are all
>> numeric constants and in at least one case are used to size static
>> arrays, so conversion to hooks doesn't make sense (yet).
>
> Maybe this is going off at too much of a tangent, but I've often thought
> it would be nice to combine some of these macros.
Like I said to Bernd, I don't want to do this at the same time as the
target-hook conversion, which is already going to be hard enough.
zw
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic