This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Calling convention for "Routines for floating point emulation"


On Wed, Sep 28, 2016 at 8:07 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Wed, 28 Sep 2016, Yichao Yu wrote:
>
>> >> Except where an external ABI defines things like that, the normal
>> >> expectation for libgcc functions is that they have the same ABI as for an
>> >> ordinary C function with the same prototype.  That is, since libgcc.texi
>> >> gives a prototype for __powidf2 without saying anything special about its
>> >> ABI, and since it is not a function defined in RTABI, it can be taken to
>> >
>> > I guess other ppl on the list probably know this but what's the list
>> > of function in RTABI?
>>
>> Is it http://infocenter.arm.com/help/topic/com.arm.doc.ihi0043d/IHI0043D_rtabi.pdf
>> ?
>
> Yes, that's the right document.  Specifically, section 4.1.2, which
> defines the floating-point functions that always use the base ABI.

I've just started reading 4.1.1 =)

Got it. Thanks very much for the fast answer!

Yichao Yu

>
> --
> Joseph S. Myers
> joseph@codesourcery.com


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