This is the mail archive of the gcc@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]

need more constant constraints


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.


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