x86/x64 Compiler Backend Team Weblog
All | News | Presentations | Sun | Tech Tips | Trip Reports

20060221 Tuesday February 21, 2006

AMD64 Aggregate Argument Passing



Think you know the AMD64 ABI?

One can learn more from the following article by Alfred Huang: 

http://blogs.sun.com/roller/page/alblog?entry=amd64_aggregate_argument_passing

1)How the order and type of the members of a struct can change the efficiency of the argument passing and the space allocation in the x64bit code.

2)The calling convention of AMD64.  Debugger writers,  assembly programmers and the developers who want to debug by examing the assembler code should be familiar with such convention.  For example, how the elements defined in each eight bytes in the aggregate may change the register being selected to pass the member(s) in that eight byte as one argument.

--written by mei chung
Posted by x86be ( Feb 21 2006, 02:54:34 PM PST ) Permalink Comments [0]


Archives
Patches
Links
Referrers