This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM] Lack of __aeabi_fsqrt / __aeabi_dsqrt (sqrtsf2 / sqrtdf2) functions
- From: Daniel Jacobowitz <drow at false dot org>
- To: Hasjim Williams <gcc at futaris dot org>
- Cc: gcc at gcc dot gnu dot org, Nicolas Pitre <nico at cam dot org>, Richard Earnshaw <rearnsha at arm dot com>
- Date: Mon, 14 Apr 2008 22:41:36 -0400
- Subject: Re: [ARM] Lack of __aeabi_fsqrt / __aeabi_dsqrt (sqrtsf2 / sqrtdf2) functions
- References: <1208226818.19561.1247900047@webmail.messagingengine.com>
On Tue, Apr 15, 2008 at 12:33:38PM +1000, Hasjim Williams wrote:
> Hello all,
>
> I've been working on MaverickCrunch support in gcc, and could never get
> a completely working glibc (with-fp), since there is no soft-float sqrt
> libcall function. This is a big problem for MaverickCrunch as there are
> no hard div or sqrt opcodes.
>
> It seems that this is the only other thing that is missing to let glibc
> be compiled with-fp for soft float arm, too.
>
> Is it possible to add these functions to ieee754-sf.S and ieee754-df.S
> ??? There is of course a c implementation in glibc/soft-fp but I don't
> know of any arm assembly implementation...
>
> I know that ARM IHI 0043A doesn't specific this as part of the EABI, but
> perhaps it needs to be added?
Can you be more specific about the actual problem? I don't see why
there needs to be an __aeabi_sqrt; sqrt is a function in libm.
--
Daniel Jacobowitz
CodeSourcery