This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16332] New: feature request: x86-64 windows calling convention
- From: "thutt at vmware dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2004 16:58:43 -0000
- Subject: [Bug c/16332] New: feature request: x86-64 windows calling convention
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The gcc x86-64 ABI uses esi/edi/edx/ecx/r8/r9 for the first six parameters.
Windows uses only 4 registers (edx/ecx,r8/r9).
It would be very helpful for writing assembly code which runs on both Windows
and Linux to have a calling convention in x86-64 which is the same as the
Windows x86-64 __stdcall.
--
Summary: feature request: x86-64 windows calling convention
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thutt at vmware dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16332