Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-27 Thread Richard Biener
On Tue, 27 Aug 2019, Uros Bizjak wrote: > On Tue, Aug 27, 2019 at 9:55 AM Uros Bizjak wrote: > > > > > > > > > > This is currently a heads-up patch that removes the minimum > > > > > > > > > limitation > > > > > > > > > of cost of moves to/from XMM reg. The immediate benefit is > > > > > > > >

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-27 Thread Uros Bizjak
On Tue, Aug 27, 2019 at 9:55 AM Uros Bizjak wrote: > > > > > > > > This is currently a heads-up patch that removes the minimum > > > > > > > > limitation > > > > > > > > of cost of moves to/from XMM reg. The immediate benefit is the > > > > > > > > removal > > > > > > > > of mismatched spills,

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-27 Thread Uros Bizjak
On Mon, Aug 26, 2019 at 2:49 PM Richard Biener wrote: > > On Mon, 26 Aug 2019, Uros Bizjak wrote: > > > On Mon, Aug 26, 2019 at 2:11 PM Uros Bizjak wrote: > > > > > > On Mon, Aug 26, 2019 at 1:46 PM Richard Biener wrote: > > > > > > > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > > > > > > > O

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-26 Thread Richard Biener
On Mon, 26 Aug 2019, Uros Bizjak wrote: > On Mon, Aug 26, 2019 at 2:11 PM Uros Bizjak wrote: > > > > On Mon, Aug 26, 2019 at 1:46 PM Richard Biener wrote: > > > > > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > > > > > On Fri, Aug 23, 2019 at 1:52 PM Richard Biener > > > > wrote: > > > > > >

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-26 Thread Uros Bizjak
On Mon, Aug 26, 2019 at 2:11 PM Uros Bizjak wrote: > > On Mon, Aug 26, 2019 at 1:46 PM Richard Biener wrote: > > > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > > > On Fri, Aug 23, 2019 at 1:52 PM Richard Biener wrote: > > > > > > > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > > > > > > > T

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-26 Thread Uros Bizjak
On Mon, Aug 26, 2019 at 1:46 PM Richard Biener wrote: > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > On Fri, Aug 23, 2019 at 1:52 PM Richard Biener wrote: > > > > > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > > > > > This is currently a heads-up patch that removes the minimum limitation >

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-26 Thread Richard Biener
On Fri, 23 Aug 2019, Uros Bizjak wrote: > On Fri, Aug 23, 2019 at 1:52 PM Richard Biener wrote: > > > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > > > This is currently a heads-up patch that removes the minimum limitation > > > of cost of moves to/from XMM reg. The immediate benefit is the rem

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-23 Thread Uros Bizjak
On Fri, Aug 23, 2019 at 1:52 PM Richard Biener wrote: > > On Fri, 23 Aug 2019, Uros Bizjak wrote: > > > This is currently a heads-up patch that removes the minimum limitation > > of cost of moves to/from XMM reg. The immediate benefit is the removal > > of mismatched spills, caused by subreg usage

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-23 Thread Richard Biener
On Fri, 23 Aug 2019, Uros Bizjak wrote: > This is currently a heads-up patch that removes the minimum limitation > of cost of moves to/from XMM reg. The immediate benefit is the removal > of mismatched spills, caused by subreg usage. > > *If* the patch proves to be beneficial (as in "doesn't regr

Re: [RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-23 Thread Uros Bizjak
And now with the patch attached. On Fri, Aug 23, 2019 at 1:39 PM Uros Bizjak wrote: > > This is currently a heads-up patch that removes the minimum limitation > of cost of moves to/from XMM reg. The immediate benefit is the removal > of mismatched spills, caused by subreg usage. > > *If* the patc

[RFC PATCH, i386]: Improve STV pass by correcting the cost of moves to/from XMM reg

2019-08-23 Thread Uros Bizjak
This is currently a heads-up patch that removes the minimum limitation of cost of moves to/from XMM reg. The immediate benefit is the removal of mismatched spills, caused by subreg usage. *If* the patch proves to be beneficial (as in "doesn't regress important benchmarks"), then we should be able