* Re: [patch] Fix behavior of TER on unrolled loops
[not found] ` <200508210200.21548.stevenb@suse.de>
@ 2005-08-22 7:28 ` Paolo Bonzini
2005-08-22 14:23 ` Steven Bosscher
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2005-08-22 7:28 UTC (permalink / raw)
To: GCC Development, Steven Bosscher
> Maybe everyone else manages to get good code without something like
> TER.
That's because we lack other things that people have, like a sane
instruction selection and expression reordering pass: other compilers
probably have something akin to TER as part of instruction selection.
Like many other parts of GCC (right Steven? ;-) TER is not evil by
itself -- it is as part of IR lowering.
I think Zdenek's patch is fine, because *everything* in TER is a hack.
> Zdenek, maybe you could you try and see if enabling pre-regalloc
> scheduling would also make this particular problem you're seeing go
> away, just as an experiment...
Couldn't it also make it much worse?
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] Fix behavior of TER on unrolled loops
2005-08-22 7:28 ` [patch] Fix behavior of TER on unrolled loops Paolo Bonzini
@ 2005-08-22 14:23 ` Steven Bosscher
0 siblings, 0 replies; 2+ messages in thread
From: Steven Bosscher @ 2005-08-22 14:23 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: GCC Development
On Monday 22 August 2005 09:28, Paolo Bonzini wrote:
> I think Zdenek's patch is fine, because *everything* in TER is a hack.
My thoughts exactly ;-)
> > Zdenek, maybe you could you try and see if enabling pre-regalloc
> > scheduling would also make this particular problem you're seeing go
> > away, just as an experiment...
>
> Couldn't it also make it much worse?
Depends on what the scheduler does with the memory references
vs. register pressure. I have no idea.
Gr.
Steven
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-22 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20050820190813.GA9852@atrey.karlin.mff.cuni.cz>
[not found] ` <20050820200324.GA13103@atrey.karlin.mff.cuni.cz>
[not found] ` <1124580306.6453.14.camel@linux.site>
[not found] ` <200508210200.21548.stevenb@suse.de>
2005-08-22 7:28 ` [patch] Fix behavior of TER on unrolled loops Paolo Bonzini
2005-08-22 14:23 ` Steven Bosscher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).