S
Skybuck Flying
Hello,
I have some questions about "inlining assembler routines"...
Can free pascal inline assembler routines ?
Delphi 2007 can't do it, and neither can Delphi 2010 as far as I know...
However C compilers do seem to be able to inline assembler routines thanks
to "macro's".
(Microsoft's Vistual Studio/C/C++ comes to mind...)
As far as I know inlining assembler routines in C gets rid of the "call" and
"return" overhead ?
What's the secret to inline assembler routines for compiler writers ?
How difficult is it to do ? Is the C language somehow more suited for
inlining assembler ?
Is single-pass compiler technology like pascal unsuited for inlining
assembler routines ?
Bye,
Skybuck.
I have some questions about "inlining assembler routines"...
Can free pascal inline assembler routines ?
Delphi 2007 can't do it, and neither can Delphi 2010 as far as I know...
However C compilers do seem to be able to inline assembler routines thanks
to "macro's".
(Microsoft's Vistual Studio/C/C++ comes to mind...)
As far as I know inlining assembler routines in C gets rid of the "call" and
"return" overhead ?
What's the secret to inline assembler routines for compiler writers ?
How difficult is it to do ? Is the C language somehow more suited for
inlining assembler ?
Is single-pass compiler technology like pascal unsuited for inlining
assembler routines ?
Bye,
Skybuck.