On Wed, 2005-10-26 at 12:24 -0400, Jan-Willem Maessen wrote: > Does x86-64 use a register-based calling convention by default?
Yes. And the algorithm is NASTY :) See 3.2.3 of 'AMD64 ABI Draft 0.96 June 14 2005' (which can be downloaded from somewhere on the AMD website). For integers, rdi, rsi,rdx,rcx,r8,r9 are used (in that order), for floats, xmm0-xmm7 -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users