Re: [PATCH] i386: Add clear_ratio to processor_costs

2019-10-17 Thread Richard Biener
On Thu, Oct 17, 2019 at 8:47 AM Uros Bizjak wrote: > > On Wed, Oct 16, 2019 at 5:06 PM H.J. Lu wrote: > > > > i386.h has > > > > #define CLEAR_RATIO(speed) ((speed) ? MIN (6, ix86_cost->move_ratio) : 2) > > > > It is impossible to have CLEAR_RATIO > 6. This patch adds clear_ratio > > to process

Re: [PATCH] i386: Add clear_ratio to processor_costs

2019-10-16 Thread Uros Bizjak
On Wed, Oct 16, 2019 at 5:06 PM H.J. Lu wrote: > > i386.h has > > #define CLEAR_RATIO(speed) ((speed) ? MIN (6, ix86_cost->move_ratio) : 2) > > It is impossible to have CLEAR_RATIO > 6. This patch adds clear_ratio > to processor_costs, sets it to the minimum of 6 and move_ratio in all > cost mod