Commit 1a3ab9e1 by Aldy Hernandez Committed by Aldy Hernandez

rs6000.h (FUNCTION_ARG_REGNO_P): Change ALTIVEC_ARG_MAX_REG to ALTIVEC_ARG_NUM_REG.

2001-12-16  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.h (FUNCTION_ARG_REGNO_P): Change ALTIVEC_ARG_MAX_REG to
        ALTIVEC_ARG_NUM_REG.

From-SVN: r48089
parent 9685bdf0
2001-12-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): Change
ALTIVEC_ARG_MAX_REG to ALTIVEC_ARG_NUM_REG.
2001-12-16 Zack Weinberg <zack@codesourcery.com>
* c-typeck.c (error_init, pedwarn_init, warning_init): Call
......
......@@ -1555,7 +1555,7 @@ typedef struct rs6000_stack {
#define FUNCTION_ARG_REGNO_P(N) \
((unsigned)(((N) - GP_ARG_MIN_REG) < (unsigned)(GP_ARG_NUM_REG)) \
|| (TARGET_ALTIVEC && \
(unsigned)((N) - ALTIVEC_ARG_MIN_REG) < (unsigned)(ALTIVEC_ARG_MAX_REG)) \
(unsigned)((N) - ALTIVEC_ARG_MIN_REG) < (unsigned)(ALTIVEC_ARG_NUM_REG)) \
|| ((unsigned)((N) - FP_ARG_MIN_REG) < (unsigned)(FP_ARG_NUM_REG)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment