On Wed, May 13, 2015 at 1:15 PM, Segher Boessenkool
<seg...@kernel.crashing.org> wrote:
> This patch changes rs6000_rtx_costs to be closer to reality.  It is
> still not quite right, but at least it handles more cases, so the
>
>         (set (reg:SI) (eq:SI (reg:SI) (reg:SI)))
>
> from the PR isn't taken as costing 1 insn anymore, while setting
> a reg:DI was cost 3 insns.  The mode of the dest doesn't matter at
> all here, not for any of our current scc patterns.
>
> Testing in progress; okay for trunk?
>
>
> Segher
>
>
> 2015-05-13  Segher Boessenkool  <seg...@kernel.crashing.org>
>
>         PR rtl-optimization/30967
>         * config/rs6000/rs6000.c (rs6000_rtx_costs): Don't consider
>         destination mode for the cost of scc patterns.

Okay.

Should this be applied to GCC 5 branch?

thanks, David

Reply via email to