Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Vincent Snijders
Florian Klaempfl schreef: Daniël Mantione wrote: Op Tue, 10 Oct 2006, schreef Florian Klaempfl: Yesterday, I've implemented tail recursion optimization (http://svn.freepascal.org/svn/fpc/trunk/compiler/opttail.pas resulting in http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=158 pp11 i

Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Florian Klaempfl
Vincent Snijders wrote: > I tried this with the recursive benchmark: > http://svn.freepascal.org/svn/fpc/trunk/tests/bench/shootout/src/recursive.pp How much does leaving fwait away help? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://l

Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders wrote: I tried this with the recursive benchmark: http://svn.freepascal.org/svn/fpc/trunk/tests/bench/shootout/src/recursive.pp How much does leaving fwait away help? There is a small, but measurable difference: fpc 2.0.4: 9.04 fpc 2.0.4 without fwa

Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Florian Klaempfl
Since I found no test regression nor a problems with make all I enabled the optimization for x86-64, i386, sparc and arm. I leave powerpc(64) to Jonas, he might do so or not ;) ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.free

Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Jonas Maebe
On 11 okt 2006, at 18:40, Florian Klaempfl wrote: Since I found no test regression nor a problems with make all I enabled the optimization for x86-64, i386, sparc and arm. I leave powerpc(64) to Jonas, he might do so or not ;) Yesterday I checked and could not find a single difference in

Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Flávio Etrusco
On a side note, fixing branch priority (order? I like compiler programming but I'm not very into it :-( ) takes the run time down by about 20% on a Duron system... Do you plan to add some related tricks to FPC? (I'm not talking about the advanced "lively analysis" that is in the to-do, but rathe

Re: [fpc-devel] Tail recursion optimization

2006-10-11 Thread Florian Klaempfl
Jonas Maebe schrieb: On 11 okt 2006, at 18:40, Florian Klaempfl wrote: Since I found no test regression nor a problems with make all I enabled the optimization for x86-64, i386, sparc and arm. I leave powerpc(64) to Jonas, he might do so or not ;) Yesterday I checked and could not find a si

[fpc-devel] Updates to glext unit to support OpenGL 2.0

2006-10-11 Thread Michalis Kamburelis
Hi Attached is a patch for glext unit that adds many new extensions and features for OpenGL 1.4, 1.5 and 2.0. This is based on newest sources of glext unit from jedi-sdl, that is in turn based on Tom Nuydens OpenGL headers from [http://www.delphi3d.net/dot/]... which is to say, it's not my work,