This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Save fp registers on x64 function resolution.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 28 Jul 2013 22:42:00 +0200
- Subject: Re: [PATCH] Save fp registers on x64 function resolution.
- References: <20130726091501 dot GA7231 at domone dot kolej dot mff dot cuni dot cz> <51F297A2 dot 8010909 at suse dot com> <20130727054910 dot GA6299 at domone dot kolej dot mff dot cuni dot cz> <51F57C01 dot 9060800 at suse dot com>
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