Commit b91accd6 by Alan Modra Committed by Alan Modra

* config/rs6000/rs6000.c (function_arg_padding): Pad SFmode upwards.

From-SVN: r85242
parent 66aeab7d
2004-07-28 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (function_arg_padding): Pad SFmode upwards.
2004-07-27 Richard Henderson <rth@redhat.com> 2004-07-27 Richard Henderson <rth@redhat.com>
* function.c (assign_stack_local_1): Widen alignment to HOST_WIDE_INT * function.c (assign_stack_local_1): Widen alignment to HOST_WIDE_INT
......
...@@ -4594,9 +4594,9 @@ function_arg_padding (enum machine_mode mode, tree type) ...@@ -4594,9 +4594,9 @@ function_arg_padding (enum machine_mode mode, tree type)
return upward; return upward;
} }
/* SFmode parameters are not padded. */ /* SFmode parameters are padded upwards. */
if (TARGET_64BIT && mode == SFmode) if (mode == SFmode)
return none; return upward;
/* Fall back to the default. */ /* Fall back to the default. */
return DEFAULT_FUNCTION_ARG_PADDING (mode, type); return DEFAULT_FUNCTION_ARG_PADDING (mode, type);
......
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