How to implement fastcall ?

kinke noone at
Wed Sep 23 20:10:29 UTC 2020

On Wednesday, 23 September 2020 at 19:50:13 UTC, Denis Feklushkin 
> On Monday, 21 September 2020 at 11:14:06 UTC, Виталий Фадеев 
> wrote:
>> How to implement fastcall ?
>> ( stdcall is calling convention for pass function arguments 
>> via registers )
> Hypothesis: it is possible what LLVM + Link Time Optimization 
> does by this way.

~All modern ABIs use registers; __fastcall was one of the special 
32-bit x86 ABIs AFAIK (using up to 2 GP registers) and isn't 
supported directly. The D ABI for 32-bit x86 uses one GP register 
(and is somewhat similar to __thiscall for member functions).

More information about the Digitalmars-d-learn mailing list