On Tue, Aug 20, 2024 at 9:38 AM LIU Hao wrote:
>
> 2024-08-20 16:13, Frederick Virchanza Gotham:
> >
> > I want to write a new calling convention into the GNU g++ compiler,
> > specifically for the x86_64 instruction set.
>
> The x64 calling convention is much more complex than x86. Each of the fi
在 2024-08-20 16:13, Frederick Virchanza Gotham via Gcc 写道:
I want to write a new calling convention into the GNU g++ compiler,
specifically for the x86_64 instruction set.
The x64 calling convention is much more complex than x86. Each of the first four parameter is not
only assigned an integer
I want to write a new calling convention into the GNU g++ compiler,
specifically for the x86_64 instruction set.
On MS-Windows, the x64 calling convention puts the first argument in RCX,
and puts the return value in RAX. I wish to write a new calling convention
which uses RAX for both the first ar