Re: GCC3.0 Produce REALLY slower code!

2001-06-26 Thread Hacksaw
>Apart from questions of optimization, compiling the same code with two >different compilers is a very good way to find bugs, both in the code >and in the compilers. I agree that this is a workable idea. On the other hand, I'd bet Linus would put that idea right up there with shipping a

Re: GCC3.0 Produce REALLY slower code!

2001-06-26 Thread Thomas Pornin
In article <[EMAIL PROTECTED]> you write: > Then there's the other question: Why should we test a compiler that > seems to be quite proprietary? Apart from questions of optimization, compiling the same code with two different compilers is a very good way to find bugs, both in the code and in the

Re: GCC3.0 Produce REALLY slower code!

2001-06-26 Thread Hacksaw
Apart from questions of optimization, compiling the same code with two different compilers is a very good way to find bugs, both in the code and in the compilers. I agree that this is a workable idea. On the other hand, I'd bet Linus would put that idea right up there with shipping a debugger

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Hacksaw
Well, I haven't gone and looked at every line of assembler, but I'd bet this is a hasty characterization. According to someones recent count there are around 144000 lines of assembler in the 2.4.2 kernel. It seems to me you'd have to jump through a lot of hoops to test this compiler. Then

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Alexander V. Bilichenko
-- - Original Message - From: "Hacksaw" <[EMAIL PROTECTED]> To: "Alexander V. Bilichenko" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 26, 2001 3:30 AM Subject: Re: GCC3.0 Produce REALLY slower code! > >He

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Hacksaw
>Here is link to Intel C compiler, that provide really faster code. > >http://developer.intel.com/software/products/compilers/linuxbeta.htm A quote from the site: * Not all of the GNU C language extensions, including the GNU inline assembly format, are currently supported and, due to this, one

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Alexander V. Bilichenko
t: Monday, June 25, 2001 3:40 PM Subject: Re: GCC3.0 Produce REALLY slower code! > On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: > > > Although I just wanna say that there is no reason trying compile kernel with > > new shiny GCC 3.0 ;-). The result will be in kernel

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Alexander V. Bilichenko
gt; Cc: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 1:16 PM Subject: Re: GCC3.0 Produce REALLY slower code! > On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: > > > Hello All! > > Some tests that I have recently check out. > > kernel compiled with 3.0 (2.

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Thomas Pornin
In article <[EMAIL PROTECTED]> you write: > All bench i did, it's slower about 3/5% depending on the kind of code. On Alpha machines (ev4 and ev56), it seems actually to be the opposite on integer calculation: gcc-3.0 produces code up to 5% faster than gcc-2.95.2. The result is still 25% behind

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Matthias Andree
On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: > Hello All! > Some tests that I have recently check out. > kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower > than 2.95. > test example - hash table add/remove - 4% slower (compiled both > with -O2 -march=i686). >

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Matthias Andree
On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: Hello All! Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash table add/remove - 4% slower (compiled both with -O2 -march=i686). Why have

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Thomas Pornin
In article [EMAIL PROTECTED] you write: All bench i did, it's slower about 3/5% depending on the kind of code. On Alpha machines (ev4 and ev56), it seems actually to be the opposite on integer calculation: gcc-3.0 produces code up to 5% faster than gcc-2.95.2. The result is still 25% behind the

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Alexander V. Bilichenko
, June 25, 2001 1:16 PM Subject: Re: GCC3.0 Produce REALLY slower code! On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: Hello All! Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Alexander V. Bilichenko
une 25, 2001 3:40 PM Subject: Re: GCC3.0 Produce REALLY slower code! On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: Although I just wanna say that there is no reason trying compile kernel with new shiny GCC 3.0 ;-). The result will be in kernel slowdown. Maybe, we can try to use Intel

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Hacksaw
Here is link to Intel C compiler, that provide really faster code. http://developer.intel.com/software/products/compilers/linuxbeta.htm A quote from the site: * Not all of the GNU C language extensions, including the GNU inline assembly format, are currently supported and, due to this, one

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Alexander V. Bilichenko
-- - Original Message - From: Hacksaw [EMAIL PROTECTED] To: Alexander V. Bilichenko [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 3:30 AM Subject: Re: GCC3.0 Produce REALLY slower code! Here is link to Intel C compiler, that provide really

Re: GCC3.0 Produce REALLY slower code!

2001-06-25 Thread Hacksaw
Well, I haven't gone and looked at every line of assembler, but I'd bet this is a hasty characterization. According to someones recent count there are around 144000 lines of assembler in the 2.4.2 kernel. It seems to me you'd have to jump through a lot of hoops to test this compiler. Then

Re: GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Luigi Genoni
On Sun, 24 Jun 2001, Rik van Riel wrote: > On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: > > > Some tests that I have recently check out. kernel compiled with > > 3.0 (2.4.5) function call: 100 iteration. 3% slower than > > 2.95. test example - hash table add/remove - 4% slower

Re: GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Daniel Phillips
On Monday 25 June 2001 00:44, Alexander V. Bilichenko wrote: > Hello All! > Some tests that I have recently check out. > kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% > slower than 2.95. > test example - hash table add/remove - 4% slower (compiled both > with -O2

Re: GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Rik van Riel
On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: > Some tests that I have recently check out. kernel compiled with > 3.0 (2.4.5) function call: 100 iteration. 3% slower than > 2.95. test example - hash table add/remove - 4% slower (compiled > both with -O2 -march=i686). > Why have this

GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Alexander V. Bilichenko
Hello All! Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash table add/remove - 4% slower (compiled both with -O2 -march=i686). Why have this version been released? Best regards, Alexander

GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Alexander V. Bilichenko
Hello All! Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash table add/remove - 4% slower (compiled both with -O2 -march=i686). Why have this version been released? Best regards, Alexander

Re: GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Rik van Riel
On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash table add/remove - 4% slower (compiled both with -O2 -march=i686). Why have this

Re: GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Daniel Phillips
On Monday 25 June 2001 00:44, Alexander V. Bilichenko wrote: Hello All! Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash table add/remove - 4% slower (compiled both with -O2 -march=i686).

Re: GCC3.0 Produce REALLY slower code!

2001-06-24 Thread Luigi Genoni
On Sun, 24 Jun 2001, Rik van Riel wrote: On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote: Some tests that I have recently check out. kernel compiled with 3.0 (2.4.5) function call: 100 iteration. 3% slower than 2.95. test example - hash table add/remove - 4% slower (compiled