Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Manuel López-Ibáñez
On 26 April 2010 16:33, Pekka Enberg wrote: > > I guess the conventional wisdom says that the way to attract new > developers is to first attract users and testers and then turn them > into contributors. Unfortunately, this is not the case. We have probably hundreds of thousands of users, people

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Pekka Enberg
Hi Manuel, On Mon, Apr 26, 2010 at 4:27 PM, Manuel López-Ibáñez wrote: >> I guess that's the point, really. 15 minutes for what exactly? All the >> information is right there in the email Joakim sent. You are trying to >> make life easier for developers, not users or testers. > > I think you misu

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Ian Lance Taylor
Joakim Tjernlund writes: > Ian Lance Taylor wrote on 2010/04/25 20:07:03: >> >> Joakim Tjernlund writes: >> >> > Noticed that gcc 4.3.4 doesn't optimize "add with carry" properly: > > BTW, I can see in gcc src: > (define_insn "" > [(set (match_operand:CC 0 "cc_reg_operand" "=x,?y") > (c

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Ian Lance Taylor
Joakim Tjernlund writes: > Anyway, I *looked* at the page and it said something about gccbug so I tried > that, not obvious either but I let me fire off a report an back came > bug ID 43892 Thanks for filing the report. Ian

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread David Edelsohn
On Mon, Apr 26, 2010 at 9:22 AM, Joakim Tjernlund wrote: > > David Edelsohn wrote on 2010/04/26 14:54:55: >> >> On Mon, Apr 26, 2010 at 8:21 AM, Joakim Tjernlund >> wrote: >> > Manuel López-Ibáñez wrote on 2010/04/26 13:59:04: >> >> On 26 April 2010 09:13, Joakim Tjernlund >> >> wrote: >> >>

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Joakim Tjernlund
Manuel López-Ibáñez wrote on 2010/04/26 15:29:54: > > On 26 April 2010 15:22, Joakim Tjernlund > wrote: > > > >> feature enhancement.  Some of the information can be left blank, but > >> if we do not have information about the system and an example, we may > >> not understand the request or may

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Manuel López-Ibáñez
On 26 April 2010 15:22, Joakim Tjernlund wrote: > >> feature enhancement.  Some of the information can be left blank, but >> if we do not have information about the system and an example, we may >> not understand the request or may not be able to reproduce the problem >> and fix it. > > Just go lo

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Manuel López-Ibáñez
On 26 April 2010 14:42, Pekka Enberg wrote: > On Mon, Apr 26, 2010 at 3:36 PM, Manuel López-Ibáñez > wrote: What is to be done besides what you have done here but in a more useful, structured manner? I am asking because we want to make things simple but not simpler than they become

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Joakim Tjernlund
David Edelsohn wrote on 2010/04/26 14:54:55: > > On Mon, Apr 26, 2010 at 8:21 AM, Joakim Tjernlund > wrote: > > Manuel López-Ibáñez wrote on 2010/04/26 13:59:04: > >> On 26 April 2010 09:13, Joakim Tjernlund > >> wrote: > >> > Ian Lance Taylor wrote on 2010/04/25 20:07:03: > >> >> Joakim Tje

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread David Edelsohn
On Mon, Apr 26, 2010 at 8:21 AM, Joakim Tjernlund wrote: > Manuel López-Ibáñez wrote on 2010/04/26 13:59:04: >> On 26 April 2010 09:13, Joakim Tjernlund >> wrote: >> > Ian Lance Taylor wrote on 2010/04/25 20:07:03: >> >> Joakim Tjernlund writes: >> >> >> >> > Noticed that gcc 4.3.4 doesn't op

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Pekka Enberg
Hi David, On Mon, Apr 26, 2010 at 3:45 PM, David Edelsohn wrote: > There are a large number of users and a small number of developers. > Why is it so large a burden to ask users to provide the information in > a standard format in a centralized, trackable location, like GCC > Bugzilla? I'm not s

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread David Edelsohn
In Mon, Apr 26, 2010 at 8:42 AM, Pekka Enberg wrote: > On Mon, Apr 26, 2010 at 3:36 PM, Manuel López-Ibáñez > wrote: What is to be done besides what you have done here but in a more useful, structured manner? I am asking because we want to make things simple but not simpler than th

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Pekka Enberg
On Mon, Apr 26, 2010 at 3:36 PM, Manuel López-Ibáñez wrote: >>> What is to be done besides what you have done here but in a more >>> useful, structured manner? I am asking because we want to make things >>> simple but not simpler than they become more complex for us. >> >> Lots of stuff to read on

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Manuel López-Ibáñez
On 26 April 2010 14:21, Joakim Tjernlund wrote: > Manuel López-Ibáñez wrote on 2010/04/26 13:59:04: >> On 26 April 2010 09:13, Joakim Tjernlund >> wrote: >> > Ian Lance Taylor wrote on 2010/04/25 20:07:03: >> >> Joakim Tjernlund writes: >> >> >> >> > Noticed that gcc 4.3.4 doesn't optimize "a

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Joakim Tjernlund
Manuel López-Ibáñez wrote on 2010/04/26 13:59:04: > On 26 April 2010 09:13, Joakim Tjernlund > wrote: > > Ian Lance Taylor wrote on 2010/04/25 20:07:03: > >> Joakim Tjernlund writes: > >> > >> > Noticed that gcc 4.3.4 doesn't optimize "add with carry" properly: > >> > >> Please file a missed-o

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Manuel López-Ibáñez
On 26 April 2010 09:13, Joakim Tjernlund wrote: > Ian Lance Taylor wrote on 2010/04/25 20:07:03: >> Joakim Tjernlund writes: >> >> > Noticed that gcc 4.3.4 doesn't optimize "add with carry" properly: >> >> Please file a missed-optimization report according to >> http://gcc.gnu.org/bugs/ .  Thank

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Joakim Tjernlund
Ian Lance Taylor wrote on 2010/04/25 20:07:03: > > Joakim Tjernlund writes: > > > Noticed that gcc 4.3.4 doesn't optimize "add with carry" properly: BTW, I can see in gcc src: (define_insn "" [(set (match_operand:CC 0 "cc_reg_operand" "=x,?y") (compare:CC (plus:SI (gt:SI (matc

Re: PowerPC suboptimal "add with carry" optimization

2010-04-26 Thread Joakim Tjernlund
Ian Lance Taylor wrote on 2010/04/25 20:07:03: > Joakim Tjernlund writes: > > > Noticed that gcc 4.3.4 doesn't optimize "add with carry" properly: > > Please file a missed-optimization report according to > http://gcc.gnu.org/bugs/ . Thanks. I rather not, going through all that just for one odd

Re: PowerPC suboptimal "add with carry" optimization

2010-04-25 Thread Ian Lance Taylor
Joakim Tjernlund writes: > Noticed that gcc 4.3.4 doesn't optimize "add with carry" properly: Please file a missed-optimization report according to http://gcc.gnu.org/bugs/ . Thanks. Ian