Hi Gareth,


This is the disassembly of /function GetProcessorUsed: longint;    inline; /Unless you advise me otherwise, I take the absence of /function GetProcessorUsed: longint;    inline; /mentioned anywhere in this screen print that /GetProcessorUsed/ is indeed inlined. And in the face of your incredulity, I need to remind you that I get all the compiler complaints about inlining unless  I restrict memory operations to the local stack, as outlined in my original message.

Wolf



On 17/05/2018 10:42, J. Gareth Moreton wrote:
Unless I'm mistaken, Wolf, you cannot inline procedures that have asm blocks appearing anywhere (this includes the entire procedure).  Nevertheless, does the disassembly of your program show it to be inlined?

Gareth aka. Kit


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to