Mon May 18 12:23:00 GMT 2015

Hello. I have a question: How does GCC x64 put parametrs of the function 
on C language in stack or registers. In x32 architecture it was simple. 
all parametrs of function was put in stack . But in x64 gcc puts some 
parametrs in %rdi, %rsi, %r8d, %r9d registers, and some parametrs in 
stack. How does it work generally?

Best regards,
Saidgani Musaev.

More information about the Gcc-help mailing list