[ARM] Lack of __aeabi_fsqrt / __aeabi_dsqrt (sqrtsf2 / sqrtdf2) functions

Daniel Jacobowitz drow@false.org
Tue Apr 15 02:42:00 GMT 2008


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



More information about the Gcc mailing list