[fpc-devel] Re: Bug in revision 9781/2
jonas.maebe at elis.ugent.be
Sat Jan 19 16:05:50 CET 2008
On 19 Jan 2008, at 15:54, Peter Vreman wrote:
> This call and pop is old-style PIC and not good for new cpus because
> it breaks the call-stack. Please use the new style that calls a
> function (fpc_geteipasebx). This also generated by the compiler. See
> i386/cgcpu.pas and search for g_maybe_got_init.
I recently read that on the more recent processors, call/pop is
slightly faster again (I suppose they detect a call to next
instruction and don't add it to the internal call stack or so).
More information about the fpc-devel