Geoff McLane wrote:
> 
> Also, such function additions gives the compiler/linker a
> chance to really make this 'inline', since the double value
> could be 'addressed' in simple lines, when loaded, like
>     mov    eax, [0x12345678]    ; get that double
>     mov    edx,[0x12345678+4]
> or in 64-bits
>     lod    reg1, [0x1234567812345678]    ; load double
> which is all we can ask for 'inline' ...
> 

Except that by taking the address of the function we force the compiler
to emit a function body despite the inline qualifier.

Cheers,
Bernie

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to