Re: Constraint modifier for partially overlaping operands

2009-10-16 Thread Ian Lance Taylor
Andrew Hutchinson writes: > I can use "=" modifier to make operands use same register and early > clobber "&" to avoid overlaps. > > Is it possible to have or construct a contraint that permits partial > overlap operands. (which neither = or & would allow) > The case would be wide types taking m

Constraint modifier for partially overlaping operands

2009-10-16 Thread Andrew Hutchinson
Hi I can use "=" modifier to make operands use same register and early clobber "&" to avoid overlaps. Is it possible to have or construct a contraint that permits partial overlap operands. (which neither = or & would allow) The case would be wide types taking multiple hard registers. eg In

Alias analysis or DSE problem?

2009-10-16 Thread Justin Seyster
I'm currently porting a plug-in that used to target the 4.3.0-based plug-in branch to the new top-of-tree plug-in system. I'm really stymied by a bug whose source I just cannot track down! Usually that means there is an error in my code, but the problem seems to involve tree-ssa-dse.c and tree-ss

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Tom Tromey
> "Benjamin" == Benjamin Smedberg writes: Benjamin> Dehydra is going to switch from the generic user attribute to Benjamin> specific GCC-registered attributes __attribute__((NS_final)) Benjamin> at some point when one of us can code it up. Benjamin> I don't particularly like __attribute__((p

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Basile STARYNKEVITCH
Tom Tromey wrote: "Diego" == Diego Novillo writes: Diego> void foo(void) __attribute__((user("bleh"))); Diego> foo.cc:1: warning: 'user' attribute directive ignored Diego> We could change the compiler to never complain about the 'user' Diego> attribute, unless plugins are loaded,but that als

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Benjamin Smedberg
On 10/16/09 12:11 PM, Tom Tromey wrote: >> "Diego" == Diego Novillo writes: > > Diego> void foo(void) __attribute__((user("bleh"))); > > Diego> foo.cc:1: warning: 'user' attribute directive ignored > > Diego> We could change the compiler to never complain about the 'user' > Diego> attribute

News Portal Crna-kronika.hr

2009-10-16 Thread Emil Milinkovic
Poštovanje, u potpunosti je gotov portal www.crna-kronika.hr / www.crnakronika.com.hr , pa ukoliko vas interesira portal sa tematikom crne kronike OVO je pravo mjesto za vas. Ukoliko vas zanima marketing na našem portalu, kontaktirajte nas. S poštovanjem, CRNA KRON!KA

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Tom Tromey
> "Diego" == Diego Novillo writes: Diego> void foo(void) __attribute__((user("bleh"))); Diego> foo.cc:1: warning: 'user' attribute directive ignored Diego> We could change the compiler to never complain about the 'user' Diego> attribute, unless plugins are loaded,but that also seems incompl

Re: Understanding IRA

2009-10-16 Thread Jeff Law
On 10/16/09 08:53, Vladimir Makarov wrote: The biggest problem of GCC RA is still reload pass. It frequently changes decisions of IRA not in a good way. Agreed. Not only may reload make a bad choice, it's horribly unpredictable. Trivial changes often lead to drastically different reloading

Re: Ada Copyright Notice Nit

2009-10-16 Thread Arnaud Charlet
> > 9drpc.adb:-- Copyright (C) 1992-2009, Free Software > > Foundation, Inc. -- > > a-assert.adb:-- Copyright (C) 2007-2009 Free Software > > Foundation, Inc. -- > > > > Are both of these OK? Should they be changed > > to be the same? > > > > I doubt it makes any

Re: Understanding IRA

2009-10-16 Thread Vladimir Makarov
Ian Bolton wrote: I hope you could also make some suggestions as to how I might help IRA work well with our instructions that can only use a subset of the register bank. I forgot to write: thanks, it would be interesting for me to see your suggestions :)

Re: Understanding IRA

2009-10-16 Thread Vladimir Makarov
Ian Bolton wrote: Hi Vladimir, I have just begun working for Icera Inc, on a private port of GCC, and my first task has been to investigate the performance impact of using the Chaitin-Briggs algorithm of IRA vs the priority algorithm that we currently have enabled in our production compiler (due

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Basile STARYNKEVITCH
Basile STARYNKEVITCH wrote: A more sophisticated variant would be to have every attribute belonging to some attribute class, and have Wno-attributes=attributeclass but I feel that is too complex! An even more crazy idea would be to interpret the argument to -Wno-attribute as a regular expre

Re: Ada Copyright Notice Nit

2009-10-16 Thread Ian Lance Taylor
Joel Sherrill writes: > In checking my local changes, I noticed a minor > difference in how the Ada source files have their > Copyright notice. Some have a comma between the > years and party, others do not. > > 9drpc.adb:-- Copyright (C) 1992-2009, Free Software > Foundation, Inc.

Understanding IRA

2009-10-16 Thread Ian Bolton
Hi Vladimir, I have just begun working for Icera Inc, on a private port of GCC, and my first task has been to investigate the performance impact of using the Chaitin-Briggs algorithm of IRA vs the priority algorithm that we currently have enabled in our production compiler (due to not defining IRA

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Basile STARYNKEVITCH
Diego Novillo wrote: On Fri, Oct 16, 2009 at 08:44, Basile STARYNKEVITCH wrote: I have a simpler suggestion: every attribute whose name starts with an underscore like "_user" or "_foogreen" or "_BORING" never produce any warnings, except perhaps in the plugin handling it. Yeah. Or perhaps

Re: Turning off unrolling to certain loops

2009-10-16 Thread Jean Christophe Beyler
Wow, it seems more complicated then me. I think I will modify my approach to : - Add a node PRAGMA in the tree level when parsing the loop - As soon as the loop structures are in place, find the pragma, update the loop structure, remove the node - Before the loop structure is lost due to the tr

Ada Copyright Notice Nit

2009-10-16 Thread Joel Sherrill
Hi, In checking my local changes, I noticed a minor difference in how the Ada source files have their Copyright notice. Some have a comma between the years and party, others do not. 9drpc.adb:-- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- a-assert.adb:--

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Diego Novillo
[ Posting again to gcc@ ] On Fri, Oct 16, 2009 at 09:12, Benjamin Smedberg wrote: > On 10/16/09 8:17 AM, Diego Novillo wrote: > >> void foo(void) __attribute__((user("bleh"))); >> >> GCC will complain >> >> foo.cc:1: warning: 'user' attribute directive ignored >> >> whenever dehydra is not loaded

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Diego Novillo
On Fri, Oct 16, 2009 at 08:44, Basile STARYNKEVITCH wrote: > I am surprised & delighted that Diego mentions Dehydra. I thought it was > Taras Glek's plugin, so Mozilla (not Google) related. Dehydra still is developed by Mozilla. We are just starting to use it internally to implement some analys

Re: Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Basile STARYNKEVITCH
Diego Novillo wrote: Given void foo(void) __attribute__((user("bleh"))); GCC will complain foo.cc:1: warning: 'user' attribute directive ignored whenever dehydra is not loaded. I am surprised & delighted that Diego mentions Dehydra. I thought it was Taras Glek's plugin, so Mozilla (not Go

Dealing with warnings on __attribute__((user)) when dehydra is not loaded

2009-10-16 Thread Diego Novillo
Given void foo(void) __attribute__((user("bleh"))); GCC will complain foo.cc:1: warning: 'user' attribute directive ignored whenever dehydra is not loaded. Since our build system uses -Werror for every build, users are not really able to use this attribute in their dehydra scripts. Has anyone

Is gcj dead?

2009-10-16 Thread Yuri
Last news in http://gcc.gnu.org/java/ are dated March 2007. Also I submitted few PRs a month ago and there is no response at all. Yuri

RE: Turning off unrolling to certain loops

2009-10-16 Thread Bingfeng Mei
The basic idea is the same as what is described in this thread. http://gcc.gnu.org/ml/gcc/2008-05/msg00436.html But I made many changes on Alex's method. Pragmas are encoded into names of the helper functions because they are not optimized out by tree-level optimizer. These pseudo functions are