Re: Constant folding and Constant propagation

2009-02-07 Thread Paolo Bonzini
Steven Bosscher wrote: > On Fri, Feb 6, 2009 at 7:32 PM, Adam Nemet wrote: >> I think you really need the Joern's optmize_related_values patch. Also see >> PR33699. > > I wouldn't recommend that patch, but yes: Something that performs that > optimization ;-) Yes, something doing that using LCM

Re: Solve transitive closure issue in modulo scheduling

2009-02-07 Thread Daniel Berlin
On Fri, Jan 30, 2009 at 7:44 AM, Bingfeng Mei wrote: > Hello, > I try to make modulo scheduling work more efficiently for our VLIW target. I > found one serious issue that prevents current SMS algorithm from achieving > high IPC is so-called "transitive closure" problem, where scheduling window

fixincludes "fixes" Xlibint.h in an unknown way.

2009-02-07 Thread Dennis Clarke
This is just a question. Hopefully someone can shed some light on what the fixincludes stage of "make install" does. I am making the assumption that the "make install" stage is where these headers get mangled or modified. This is on Solaris 8 by the way. Once make install has finished its job I

Re: fixincludes "fixes" Xlibint.h in an unknown way.

2009-02-07 Thread Richard Guenther
On Sat, Feb 7, 2009 at 7:27 PM, Dennis Clarke wrote: > > This is just a question. Hopefully someone can shed some light on what the > fixincludes stage of "make install" does. I am making the assumption that > the "make install" stage is where these headers get mangled or modified. > > This is on

Re: fixincludes "fixes" Xlibint.h in an unknown way.

2009-02-07 Thread Dennis Clarke
>> Was it fixincludes or was it the mkheaders script ? >> >> and why ? > > Because system headers should not define something in the users namespace, > certainly not a non-uglified three-letter name such as "sun". > > Consider > > #include > > int sun; > > which will not build otherwise. I did

Re: Constant folding and Constant propagation

2009-02-07 Thread Jean Christophe Beyler
Ok, thanks for all this information and if you can dig that up it would be nice too. I'll start looking at that patch and PR33699 to see if I can adapt them to my needs. Any reason why you wouldn't recommend it? I will keep you posted of anything I do for latter reference, Jean Christophe Beyler

Machine description question

2009-02-07 Thread Jean Christophe Beyler
Dear all, I have a question about the way the machine description works and how it affects the different passes of the compiler. I was reading the GNU Compiler Collection Internals and I found this part (in section 14.8.1): (define_insn "" [(set (match_operand:SI 0 "general_operand" "

Re: Machine description question

2009-02-07 Thread Michael Meissner
On Sat, Feb 07, 2009 at 03:54:51PM -0500, Jean Christophe Beyler wrote: > Dear all, > > I have a question about the way the machine description works and how > it affects the different passes of the compiler. I was reading the GNU > Compiler Collection Internals and I found this part (in section >