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][ARM] Do not lower cost of setting core reg to constant. It doesn't have any effect


Ping.
https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01330.html

Thanks,
Kyrill

On 22/04/15 17:18, Kyrill Tkachov wrote:
Hi all,

This hunk that slightly reduces the cost of immediate moves doesn't actually have any effect.
In the whole of SPEC2006 it didn't make a difference. In any case, I'd like to move to a point
where we use COSTS_N_INSNS units for our costs and not increment decrement them by one.

This patch removes that bit of logic and makes it slightly cleaner to look at. As far as I know
its logic has never been confirmed in practice.

Bootstrapped and tested on arm.

Ok for trunk?

Thanks,
Kyrill

2015-04-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

      * config/arm/arm.c (arm_new_rtx_costs): Do not lower cost
      immediate moves.


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