This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Support for calling functions with decimal float ?arguments ?in x86 and x86_64


On Thu, 2008-02-21 at 00:54 +0100, Mark Kettenis wrote:
> > From: "Thiago Jung Bauermann" <bauerman@br.ibm.com>
> > Date: Wed, 20 Feb 2008 14:41:17 -0300
> > 
> > On Wed, 2008-02-13 at 14:38 -0200, Thiago Jung Bauermann wrote:
> > > The attached patch implements the calling convention for decimal
> > > floating point in x86 32-bits and x86_64 (arguments and return value).
> > 
> > Ping? I am hoping to get this in before the branch...
> 
> The diff looked ok to me.  Only wondered whether there is some
> semi-official ABI specification for i386 for this, but even if there
> isn't, this diff makes sense.

Ben Elliston implemented this in x86 and x86_64. I had a brief e-mail
conversation with him about it:

<bauermann> However, I couldn't find an ABI spec for DFP in x86. It 
<bauermann> seems that it's very simple, just throwing all arguments in 
>bauermann> the stack while respecting word alignment.
<bje> Conversely, I don't think I did write up an ABI spec for x86.
<bje> But my recollection is that you are right: we just throw 
<bje> everything onto the stack.
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]