Commit 20c29ebe by Aldy Hernandez Committed by Aldy Hernandez

rs6000.c (function_arg): Unnamed vector arguments go in memory.

	     * rs6000.c (function_arg): Unnamed vector arguments go in memory.
        Remove unused attribute for named.

From-SVN: r47466
parent 0d35f155
2001-11-29 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
go in memory.
Remove unused attribute for named.
2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* genattrtab.c (attr_rtx_1): New function containing the * genattrtab.c (attr_rtx_1): New function containing the
......
...@@ -2373,7 +2373,7 @@ function_arg (cum, mode, type, named) ...@@ -2373,7 +2373,7 @@ function_arg (cum, mode, type, named)
CUMULATIVE_ARGS *cum; CUMULATIVE_ARGS *cum;
enum machine_mode mode; enum machine_mode mode;
tree type; tree type;
int named ATTRIBUTE_UNUSED; int named;
{ {
enum rs6000_abi abi = DEFAULT_ABI; enum rs6000_abi abi = DEFAULT_ABI;
...@@ -2399,7 +2399,7 @@ function_arg (cum, mode, type, named) ...@@ -2399,7 +2399,7 @@ function_arg (cum, mode, type, named)
if (TARGET_ALTIVEC_ABI && ALTIVEC_VECTOR_MODE (mode)) if (TARGET_ALTIVEC_ABI && ALTIVEC_VECTOR_MODE (mode))
{ {
if (cum->vregno <= ALTIVEC_ARG_MAX_REG) if (named && cum->vregno <= ALTIVEC_ARG_MAX_REG)
return gen_rtx_REG (mode, cum->vregno); return gen_rtx_REG (mode, cum->vregno);
else else
return NULL; return NULL;
......
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