On Wednesday 03 September 2008 12.04:23 Graeme Geldenhuys wrote: > On 9/3/08, Martin Schreiber <[EMAIL PROTECTED]> wrote: > > You could use breakpoints and the (dis-)assembler window of MSEide, it > > lists mixed pascal and machine code. > > Thanks Martin, I'll take a look. > > What I'm trying to find out (with my rusty assembler knowledge) is if > a lot of IFDEF's around procedure calls, compared to only one IFDEF > inside a procedure would make a difference in performance and the code > generated. > > I would prefer example 2 (it looks cleaner and would be less work), > and from my quick/crude analysis, it seems both options generate > pretty much the same code if the gDEBUG define is disabled (does NOT > exist). > For the people who don't know MSEide attached a screenshot, I hope the file is not too big. It is with -O3. With inline there is still some overhead because of the string variable.
Martin
<<attachment: assemblerwindow.png>>
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel