This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
need more constant constraints
- To: gcc at gcc dot gnu dot org
- Subject: need more constant constraints
- From: Aldy Hernandez <aldyh at redhat dot com>
- Date: 27 Sep 2001 15:06:02 -0400
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?
thanks
aldy
Index: recog.c
===================================================================
RCS file: /cvs/uberbaum/gcc/recog.c,v
retrieving revision 1.124
diff -c -r1.124 recog.c
*** recog.c 2001/09/21 12:55:15 1.124
--- recog.c 2001/09/27 19:01:38
***************
*** 2503,2508 ****
--- 2503,2512 ----
win = 1;
break;
+ case 'A':
+ case 'B':
+ case 'C':
+ case 'D':
case 'I':
case 'J':
case 'K':
--
Aldy Hernandez E-mail: aldyh@redhat.com
Professional Gypsy on a Motorcycle
Red Hat, Inc.