[fpc-devel] Patch for rtl/inc/rtti.inc

2008-09-14 Thread Markus Beth
Hi, this patch rewrites code of ArrayRTTI and fpc_Copy to allow the compiler to generate faster code (at least on i386). The change in ArrayRTTI yields a performance gain of ~4% for our real world application on a 3 GHz Intel Xeon. The change in fpc_Copy is completely untestet because I don't

Re: [fpc-devel] Patch for rtl/inc/rtti.inc

2008-09-14 Thread Jonas Maebe
On 14 Sep 2008, at 14:49, Markus Beth wrote: this patch rewrites code of ArrayRTTI and fpc_Copy to allow the compiler to generate faster code (at least on i386). The change in ArrayRTTI yields a performance gain of ~4% for our real world application on a 3 GHz Intel Xeon. The change in

Re: [fpc-devel] Patch for rtl/inc/rtti.inc

2008-09-14 Thread Daniël Mantione
Op Sun, 14 Sep 2008, schreef Jonas Maebe: On 14 Sep 2008, at 14:49, Markus Beth wrote: this patch rewrites code of ArrayRTTI and fpc_Copy to allow the compiler to generate faster code (at least on i386). The change in ArrayRTTI yields a performance gain of ~4% for our real world

Re: [fpc-devel] Patch for rtl/inc/rtti.inc

2008-09-14 Thread Florian Klaempfl
Daniël Mantione schrieb: Op Sun, 14 Sep 2008, schreef Jonas Maebe: On 14 Sep 2008, at 14:49, Markus Beth wrote: this patch rewrites code of ArrayRTTI and fpc_Copy to allow the compiler to generate faster code (at least on i386). The change in ArrayRTTI yields a performance gain of ~4% for

Re: [fpc-devel] Patch for rtl/inc/rtti.inc

2008-09-14 Thread Florian Klaempfl
Daniël Mantione schrieb: Op Sun, 14 Sep 2008, schreef Florian Klaempfl: Daniël Mantione schrieb: Op Sun, 14 Sep 2008, schreef Jonas Maebe: On 14 Sep 2008, at 14:49, Markus Beth wrote: this patch rewrites code of ArrayRTTI and fpc_Copy to allow the compiler to generate faster code (at

Re: [fpc-devel] Patch for rtl/inc/rtti.inc

2008-09-14 Thread Jonas Maebe
On 14 Sep 2008, at 15:11, Daniël Mantione wrote: Op Sun, 14 Sep 2008, schreef Jonas Maebe: I don't think it's a good idea to start manually adding loop induction variables to many routines in the rtl. It makes the code less maintainable, and at one point the compilation process itself