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

Re: [PATCH] i386: Add clear_ratio to processor_costs

2019-10-17 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

[PATCH] i386: Add clear_ratio to processor_costs

2019-10-16 Thread H.J. Lu
17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 Oct 2019 08:12:47 -0700 Subject: [PATCH] i386: Add clear_ratio to processor_costs 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