Commit 47f113fe by Richard Stallman

(function_arg_partial_nregs): For BLKmode values...

(function_arg_partial_nregs): For BLKmode values, fits in
remaining register if total size <= MAX_ARGS_IN_REGISTERS, not <.

From-SVN: r4599
parent 51591ce9
...@@ -2639,7 +2639,7 @@ function_arg_partial_nregs (cum, mode, type, named) ...@@ -2639,7 +2639,7 @@ function_arg_partial_nregs (cum, mode, type, named)
{ {
int words = (int_size_in_bytes (type) + 3) / 4; int words = (int_size_in_bytes (type) + 3) / 4;
if (words + cum->arg_words < MAX_ARGS_IN_REGISTERS) if (words + cum->arg_words <= MAX_ARGS_IN_REGISTERS)
return 0; /* structure fits in registers */ return 0; /* structure fits in registers */
if (TARGET_DEBUG_E_MODE) if (TARGET_DEBUG_E_MODE)
......
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