diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-11-24 18:50:26 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-11-24 18:50:26 +0000 |
commit | bef5d8b61f6732bec53128324913bfa8a5093a07 (patch) | |
tree | b60ced5605459fa37b62bcb5a6c1cced24e7b3fd /gcc/optabs.c | |
parent | 6e2993bf5b71c17c2b60e0dec787750f44925e66 (diff) | |
download | gcc-bef5d8b61f6732bec53128324913bfa8a5093a07.zip gcc-bef5d8b61f6732bec53128324913bfa8a5093a07.tar.gz gcc-bef5d8b61f6732bec53128324913bfa8a5093a07.tar.bz2 |
optabs.h (force_expand_binop): Declare.
* optabs.h (force_expand_binop): Declare.
* optabs.c (force_expand_binop): Export.
* stmt.c (shift_return_value): Delete.
(expand_return): Don't call it.
* expr.h (shift_return_value): Declare.
* calls.c (shift_returned_value): Delete in favor of...
(shift_return_value): ...this new function. Leave the caller to check
for non-BLKmode values passed in the msb of a register. Take said mode
and a shift direction as argument. Operate on the hard function value,
not a pseudo.
(expand_call): Adjust accordingly.
* function.c (expand_function_start): If a non-BLKmode return value
is padded at the last significant end of the return register, use the
return value's natural mode for the DECL_RESULT, not the mode of the
padded register.
(expand_function_end): Shift the same sort of return values left by
the appropriate amount.
From-SVN: r91187
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 1887772..14f2b72 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -427,7 +427,7 @@ simplify_expand_binop (enum machine_mode mode, optab binoptab, /* Like simplify_expand_binop, but always put the result in TARGET. Return true if the expansion succeeded. */ -static bool +bool force_expand_binop (enum machine_mode mode, optab binoptab, rtx op0, rtx op1, rtx target, int unsignedp, enum optab_methods methods) |