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

[Patch] Unnamed vector args passing for ppc linux 32 bit

      my understanding is, that for ppc linux 32-bit, unnamed arguments are
passed via stack.
This was changed from 3.3 to head by the implementation of

      regards, Hartmut

Suggested patch:


      * gcc/config/rs6000/rs6000.h (USE_ALTIVEC_FOR_ARG_P): Don't check for
SVR4 abi.

Index: rs6000.c
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.558
diff -u -r1.558 rs6000.c
--- rs6000.c      15 Dec 2003 15:23:11 -0000    1.558
+++ rs6000.c      16 Dec 2003 12:03:06 -0000
@@ -3722,7 +3722,7 @@
   (ALTIVEC_VECTOR_MODE (MODE)                        \
    && (CUM)->vregno <= ALTIVEC_ARG_MAX_REG           \
    && TARGET_ALTIVEC_ABI                       \
-   && (DEFAULT_ABI == ABI_V4 || (NAMED)))
+   && (NAMED))

 /* Return a nonzero value to say to return the function value in
    memory, just as large structures are always returned.  TYPE will be

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