On Wed, May 25, 2011 at 3:02 PM, Pat Haugen <pthau...@linux.vnet.ibm.com> wrote:
> The following fixes a problem when dumping register costs, where the
> incorrect 'from' value was being written out because the code modified the
> incoming parameter value. It also changes things so that register/memory
> costs are only dumped on the outermost call, eliminating intermediate output
> when a cost calculation requires going through memory or GPRs.
>
> Bootstrap/regtest on powerpc64-linux with no new regressions. Ok for trunk?
>
> -Pat
>
>
> 2011-05-25  Pat Haugen <pthau...@us.ibm.com>
>
>        * config/rs6000/rs6000.c (rs6000_register_move_cost): Preserve from
>        parameter value for dump. Dump cost on outermost call only.
>        (rs6000_memory_move_cost): Dump cost on outermost call only.

Okay.

Thanks, David

Reply via email to