Re: [PATCH][1/2][i386] STV changes, DImode chain cost

2019-08-13 Thread Uros Bizjak
On Tue, Aug 13, 2019 at 2:16 PM Richard Biener wrote: > > > The following splits out the DImode chain cost changes from the > patch adding SImode chain handling. There are two main parts: > > 1) fix REG_P (src) && REG_P (dst) costing which currently favors >SSE because we use COSTS_N_INSNS ba

[PATCH][1/2][i386] STV changes, DImode chain cost

2019-08-13 Thread Richard Biener
The following splits out the DImode chain cost changes from the patch adding SImode chain handling. There are two main parts: 1) fix REG_P (src) && REG_P (dst) costing which currently favors SSE because we use COSTS_N_INSNS based costs for GPR but move costs for SSE. 2) Use ix86_cost->ss