aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje@gcc.gnu.org>2004-11-22 15:29:25 -0500
committerDavid Edelsohn <dje@gcc.gnu.org>2004-11-22 15:29:25 -0500
commit23ba09f0705589532865015b6d03d7f8258a2c79 (patch)
treea8c02fe0ecb880aa015ad122a6ec75910717e5b9 /gcc
parent46b483a7c8c5a02937e8b0ff67efb0678e7bc3c5 (diff)
downloadgcc-23ba09f0705589532865015b6d03d7f8258a2c79.zip
gcc-23ba09f0705589532865015b6d03d7f8258a2c79.tar.gz
gcc-23ba09f0705589532865015b6d03d7f8258a2c79.tar.bz2
fixed some missed bits in the last commit.
From-SVN: r91027
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 63623f1..f018f601 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4818,9 +4818,6 @@ function_arg_boundary (enum machine_mode mode, tree type)
|| (type && TREE_CODE (type) == VECTOR_TYPE
&& int_size_in_bytes (type) >= 16))
return 128;
- else if (type && TREE_CODE (type) == VECTOR_TYPE
- && int_size_in_bytes (type) > 16)
- return 128;
else
return PARM_BOUNDARY;
}
@@ -18606,7 +18603,7 @@ rs6000_function_value (tree valtype, tree func ATTRIBUTE_UNUSED)
return rs6000_complex_function_value (mode);
else if (TREE_CODE (valtype) == VECTOR_TYPE
&& TARGET_ALTIVEC && TARGET_ALTIVEC_ABI
- && ALTIVEC_VECTOR_MODE(mode))
+ && ALTIVEC_VECTOR_MODE (mode))
regno = ALTIVEC_ARG_RETURN;
else if (TARGET_E500_DOUBLE && TARGET_HARD_FLOAT
&& (mode == DFmode || mode == DCmode))