This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16332] New: feature request: x86-64 windows calling convention


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]