need more constant constraints
Geoff Keating
geoffk@geoffk.org
Thu Sep 27 14:20:00 GMT 2001
Aldy Hernandez <aldyh@redhat.com> writes:
> hi guys.
>
> we have I,J,K,L,M,N,O,P as possible constant constraints to be used in
> CONST_OK_FOR_LETTER_P and friends.
>
> i'm working on altivec support for powerpc and all these letters are
> already used.
>
> can i add new cases to:
>
> recog.c
> regclass.c
> reload.c
>
> see patch below.
>
> what is the recommended approach, or is this correct?
This is probably not correct, unless you've checked that no port uses
'A' ... 'D' for other things.
Have you tried using EXTRA_CONSTRAINT?
It's also possible that some of the new constraints would be better
expressed as predicates.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc
mailing list