Re: Live range shrinkage in pre-reload scheduling

2014-05-16 Thread Kyrill Tkachov
On 15/05/14 09:52, Ramana Radhakrishnan wrote: On Thu, May 15, 2014 at 8:36 AM, Maxim Kuvyrkov wrote: On May 15, 2014, at 6:46 PM, Ramana Radhakrishnan wrote: I'm not claiming it's a great heuristic or anything. There's bound to be room for improvement. But it was based on "reality" and re

Re: Live range shrinkage in pre-reload scheduling

2014-05-15 Thread Vladimir Makarov
On 05/15/2014 02:46 AM, Ramana Radhakrishnan wrote: > On Wed, May 14, 2014 at 5:38 PM, Richard Sandiford > wrote: >> Vladimir Makarov writes: >>> On 2014-05-13, 6:27 AM, Kyrill Tkachov wrote: Hi all, In haifa-sched.c (in rank_for_schedule) I notice that live range shrinkage is

Re: Live range shrinkage in pre-reload scheduling

2014-05-15 Thread Ramana Radhakrishnan
On Thu, May 15, 2014 at 8:36 AM, Maxim Kuvyrkov wrote: > On May 15, 2014, at 6:46 PM, Ramana Radhakrishnan > wrote: >> >>> >>> I'm not claiming it's a great heuristic or anything. There's bound to >>> be room for improvement. But it was based on "reality" and real results. >>> >>> Of course, i

Re: Live range shrinkage in pre-reload scheduling

2014-05-15 Thread Maxim Kuvyrkov
On May 15, 2014, at 6:46 PM, Ramana Radhakrishnan wrote: > >> >> I'm not claiming it's a great heuristic or anything. There's bound to >> be room for improvement. But it was based on "reality" and real results. >> >> Of course, if it turns out not be a win for ARM or s390x any more then it >

Re: Live range shrinkage in pre-reload scheduling

2014-05-15 Thread Richard Sandiford
Ramana Radhakrishnan writes: > On Wed, May 14, 2014 at 5:38 PM, Richard Sandiford > wrote: >> Hey, I resent that. You make it sound I came up with SCHED_PRESSURE_MODEL >> on a whim without any evidence to back it up. I implemented it because >> it gave better EEMBC results on ARM, at least at t

Re: Live range shrinkage in pre-reload scheduling

2014-05-14 Thread Ramana Radhakrishnan
On Wed, May 14, 2014 at 5:38 PM, Richard Sandiford wrote: > Vladimir Makarov writes: >> On 2014-05-13, 6:27 AM, Kyrill Tkachov wrote: >>> Hi all, >>> >>> In haifa-sched.c (in rank_for_schedule) I notice that live range >>> shrinkage is not performed when SCHED_PRESSURE_MODEL is used and the >>> c

Re: Live range shrinkage in pre-reload scheduling

2014-05-14 Thread Vladimir Makarov
On 2014-05-14, 12:38 PM, Richard Sandiford wrote: Vladimir Makarov writes: On 2014-05-13, 6:27 AM, Kyrill Tkachov wrote: Hi all, In haifa-sched.c (in rank_for_schedule) I notice that live range shrinkage is not performed when SCHED_PRESSURE_MODEL is used and the comment mentions that it resul

Re: Live range shrinkage in pre-reload scheduling

2014-05-14 Thread Richard Sandiford
Vladimir Makarov writes: > On 2014-05-13, 6:27 AM, Kyrill Tkachov wrote: >> Hi all, >> >> In haifa-sched.c (in rank_for_schedule) I notice that live range >> shrinkage is not performed when SCHED_PRESSURE_MODEL is used and the >> comment mentions that it results in much worse code. >> >> Could any

Re: Live range shrinkage in pre-reload scheduling

2014-05-14 Thread Vladimir Makarov
On 2014-05-13, 6:27 AM, Kyrill Tkachov wrote: Hi all, In haifa-sched.c (in rank_for_schedule) I notice that live range shrinkage is not performed when SCHED_PRESSURE_MODEL is used and the comment mentions that it results in much worse code. Could anyone elaborate on this? Was it just empiricall

Re: Live range shrinkage in pre-reload scheduling

2014-05-13 Thread Maxim Kuvyrkov
On May 13, 2014, at 10:27 PM, Kyrill Tkachov wrote: > Hi all, > > In haifa-sched.c (in rank_for_schedule) I notice that live range shrinkage is > not performed when SCHED_PRESSURE_MODEL is used and the comment mentions that > it results in much worse code. > > Could anyone elaborate on this?

Live range shrinkage in pre-reload scheduling

2014-05-13 Thread Kyrill Tkachov
Hi all, In haifa-sched.c (in rank_for_schedule) I notice that live range shrinkage is not performed when SCHED_PRESSURE_MODEL is used and the comment mentions that it results in much worse code. Could anyone elaborate on this? Was it just empirically noticed on x86_64? Thanks, Kyrill