On 11/10/2015 08:30 AM, Wilco Dijkstra wrote:
Ping of https://gcc.gnu.org/ml/gcc-patches/2014-12/msg00829.html:
This fixes a bug in register preferencing. When live range splitting creates
a new register from
another, it copies most fields except for the register preferences. The
preference GE
> Jeff Law wrote:
> On 12/10/14 06:26, Wilco Dijkstra wrote:
> >
> > If recomputing is best does that mean that record_reg_classes should not
> > give a boost to the preferred class in the 2nd pass?
> Perhaps. I haven't looked deeply at this part of IRA. I was relaying
> my experiences with (ab)u
On 12/10/14 06:26, Wilco Dijkstra wrote:
If recomputing is best does that mean that record_reg_classes should not
give a boost to the preferred class in the 2nd pass?
Perhaps. I haven't looked deeply at this part of IRA. I was relaying
my experiences with (ab)using the ira-reload callbacks to
> Jeff Law wrote:
> On 12/09/14 12:21, Wilco Dijkstra wrote:
> > With the fix it uses a floating point register as expected. Given a similar
> > issue in
> > https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02253.html, would it not be
> > better to change
> the
> > initialization values of reg_pref
On 12/09/14 12:21, Wilco Dijkstra wrote:
This fixes a bug in register preferencing. When live range splitting creates a
new register from
another, it copies most fields except for the register preferences. The
preference GENERAL_REGS is
used as reg_pref[i].prefclass is initialized with GENERAL_