Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 11 Sep 2014 16:22:53 +0300
From: Sergey Dmitrouk <>
To: "" <>
Subject: Re: [PATCH] Make musl math depend less on libgcc builtins

> now that you mention i got reports of spurious invalid
> exceptions for nan inputs on arm, but i don't have hardfloat
> arm toolchain
> if you have further info on this that would be helpful
> (from the arm docs it seems to me that vfp sqrt should work
> according to ieee so either that is wrong or our fenv
> exception test is not ok on arm)

Note that I'm performing tests in QEMU.  vsqrt.f64 instruction returns
NAN for NAN input and doesn't raise any exceptions ($fpscr register is
unchanged).  However I get INVALID exception after printing result with
musl implementation of printf(), glibc doesn't raise any exceptions in
printf(), but I'm not sure whether it's important, probably not.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.