This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] Tidy up dumping of register/memory move cost


On Wed, May 25, 2011 at 3:02 PM, Pat Haugen <pthaugen@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 <pthaugen@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]