[PATCH] Save fp registers on x64 function resolution.

Ondřej Bílka neleai@seznam.cz
Sun Jul 28 20:42:00 GMT 2013


On Sun, Jul 28, 2013 at 10:16:01PM +0200, Andreas Jaeger wrote:
> On 07/27/2013 07:49 AM, Ondřej Bílka wrote:
> > [...
> > OK, also
> >>> > >  	movq %rax, %r11		# Save return value
> > seems retundant as you do not pass arguments via %rax. 
> >>> > > 
> 
> But you pass the number of used SSE registers with variadic arguments
> using %rax,
>
Ok, then http://en.wikipedia.org/wiki/X86_calling_conventions needs to
be updated to mention it. 
> Andreas
> -- 
>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
>   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
>     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list