From: Alan Modra Date: Wed, 28 Jul 2004 00:56:47 +0000 (+0000) Subject: * config/rs6000/rs6000.c (function_arg_padding): Pad SFmode upwards. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b91accd685798cd0cb4f775bfcdcc40c18efbdb6;p=gcc.git * config/rs6000/rs6000.c (function_arg_padding): Pad SFmode upwards. From-SVN: r85242 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f760a2b16f..e76b32b1670 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-07-28 Alan Modra + + * config/rs6000/rs6000.c (function_arg_padding): Pad SFmode upwards. + 2004-07-27 Richard Henderson * function.c (assign_stack_local_1): Widen alignment to HOST_WIDE_INT diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 02f3092704f..32b9c08cab4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4594,9 +4594,9 @@ function_arg_padding (enum machine_mode mode, tree type) return upward; } - /* SFmode parameters are not padded. */ - if (TARGET_64BIT && mode == SFmode) - return none; + /* SFmode parameters are padded upwards. */ + if (mode == SFmode) + return upward; /* Fall back to the default. */ return DEFAULT_FUNCTION_ARG_PADDING (mode, type);