Re: [fpc-devel] Bug: fpc-svn-392 compile error

2005-06-13 Thread Peter Vreman
Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? There are already dailed build snapshots and testsuite results for i386-linux. See http://www.freepascal.org/cgi-bin/testsuite.cgi

Re: [fpc-devel] Patch to speed up Uppercase/Lowercase functions

2005-06-13 Thread Marco van de Voort
On Sunday 12 June 2005 12.43, Tomas Hajny wrote: As far as I know, mov instruction doesn't set zero flag. Zero length is checked earlier in the code, though, so it doesn't matter for that - just the jz instruction seems to be useless there. You are right of course, i am not very familiar

Re: [fpc-devel] Patch to speed up Uppercase/Lowercase functions

2005-06-13 Thread Jonas Maebe
On 13 jun 2005, at 08:46, Marco van de Voort wrote: There also is jecx, (jeecx ? :-), jecxz but I don't know if it is faster than writing it out. Pretty much all of those old complex instructions (enter, loop, jecxz, xlatb, ...) are slower than the alternatives. Jonas

Re: [fpc-devel] Bug: fpc-svn-392 compile error

2005-06-13 Thread Jonas Maebe
On 13 jun 2005, at 07:24, Jan Ruzicka wrote: latest version form SVN does not even compile. It works fine here under Mac OS X (both in fixes and in trunk). Did you start the cycle with 2.0.0? Jonas ___ fpc-devel maillist -

Re: [fpc-devel] Patch to speed up Uppercase/Lowercase functions

2005-06-13 Thread Jonas Maebe
On 13 jun 2005, at 09:13, Marco van de Voort wrote: I was thinking about this before I relpied, and knew this was the case for P5-P6 core. However is this verified/documented for generation 7 CPU's ? (Athlon/Netburst ?) Why would they suddenly start spending silicon on making

Re: [fpc-devel] Patch to speed up Uppercase/Lowercase functions

2005-06-13 Thread Marco van de Voort
On 13 jun 2005, at 08:46, Marco van de Voort wrote: There also is jecx, (jeecx ? :-), jecxz but I don't know if it is faster than writing it out. Pretty much all of those old complex instructions (enter, loop, jecxz, xlatb, ...) are slower than the alternatives. I was thinking

Re: [fpc-devel] Patch to speed up Uppercase/Lowercase functions

2005-06-13 Thread Marco van de Voort
On 13 jun 2005, at 09:13, Marco van de Voort wrote: I was thinking about this before I relpied, and knew this was the case for P5-P6 core. However is this verified/documented for generation 7 CPU's ? (Athlon/Netburst ?) Why would they suddenly start spending silicon on making

[fpc-devel] Interfaced Object leak in inherited Object

2005-06-13 Thread alphax
It seems a bug in FPC 2.0.0.(Delphi 7.1 also has this bug) Assumes there is an object(not class) declaration, the object has a IInterface field. If we declare another object derive from it, in the cleanup procedure of that decendant leak to clear the IInterface references. The test program is

Re: [fpc-devel] Bug: fpc-svn-392 compile error

2005-06-13 Thread Tomas Hajny
Peter Vreman said: Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? There are already dailed build snapshots and testsuite results for i386-linux. See http://www.freepascal.org/cgi-bin/testsuite.cgi At least daily

[fpc-devel] RTTI for interface (2)

2005-06-13 Thread Martin Schreiber
To the compiler developers: In FPC 2.0.0 - Are the fields TTypeData.IntfParent, IID, IIDStr and IntfUnit valid for tkInterface? - Is TTypeData.IntfParent really PPTypeInfo or is it PTypeInfo? - How is TTypeData.IntfUnit aligned? Thanks, Martin ___

Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Martin Schreiber
On Monday 13 June 2005 12.59, Peter Vreman wrote: - How is TTypeData.IntfUnit aligned? It doesn't need alignment. It consists only of chars. So offset IIDStr-IntfUnit is 256 (IIDStr = shortstring = string[255])? Or IntfUnit starts after last char of IIDStr?

Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Peter Vreman
On Monday 13 June 2005 12.59, Peter Vreman wrote: - How is TTypeData.IntfUnit aligned? It doesn't need alignment. It consists only of chars. So offset IIDStr-IntfUnit is 256 (IIDStr = shortstring = string[255])? Or IntfUnit starts after last char of IIDStr? It is not yet defined. The

Re: [fpc-devel] Extend the libraries people!

2005-06-13 Thread André Cipriani Bandarra
Florian Klaempfl wrote: Did it go through the mailing list already? I guess because it contains an attachement it is held for approval. Yes, i've already seen it in the list. Anyway, the link to the units is here http://www.bandarra.org/pascal/stringcomparison/ begin:vcard

[fpc-devel] Inlining recursive functions works - and it's fast too?

2005-06-13 Thread Joost van der Sluis
Hi all, i'm curious what happens here. If I make a recursive funtion inlined, it runs way faster? Ackerman-test results: $ ppc386 -O3p3r -dRecursiveInline ackerman.pp cpu/bin/timeit /home/joost/src/ackerman 10 Ack(3,10): 8189 Execution took 395377 microseconds. $ ppc386 -O3p3r ackerman.pp

Re: [fpc-devel] RTTI for interface (2)

2005-06-13 Thread Florian Klaempfl
Peter Vreman wrote: On Monday 13 June 2005 12.59, Peter Vreman wrote: - How is TTypeData.IntfUnit aligned? It doesn't need alignment. It consists only of chars. So offset IIDStr-IntfUnit is 256 (IIDStr = shortstring = string[255])? Or IntfUnit starts after last char of IIDStr? It is not

Re: [fpc-devel] Inlining recursive functions works - and it's fast too?

2005-06-13 Thread Florian Klaempfl
Joost van der Sluis wrote: Hi all, i'm curious what happens here. If I make a recursive funtion inlined, it runs way faster? Ackerman-test results: $ ppc386 -O3p3r -dRecursiveInline ackerman.pp cpu/bin/timeit /home/joost/src/ackerman 10 Ack(3,10): 8189 Execution took 395377

Re: [fpc-devel] Patch to speed up Uppercase/Lowercase functions

2005-06-13 Thread Florian Klaempfl
Anybody followed the discussion, e.g. which version should be included :)? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Bug: fpc-svn-392 compile error

2005-06-13 Thread Jan Ruzicka
On Jun 13, 2005, at 05:31, Tomas Hajny wrote: Peter Vreman said: Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? There are already dailed build snapshots and testsuite results for i386-linux. See

Re: [fpc-devel] Bug: fpc-svn-392 compile error

2005-06-13 Thread Peter Vreman
On Jun 13, 2005, at 05:31, Tomas Hajny wrote: Peter Vreman said: Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? There are already dailed build snapshots and testsuite results for i386-linux. See