Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 14 Jan 2020 19:50:58 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Q: dealing with missing removal of excess precision

* Alexander Monakov <amonakov@...ras.ru> [2020-01-14 21:17:55 +0300]:
> What to do with functions that return values with excess precision from asm?
> 
> Many of the remaining x87-based asm implementations do not remove excess
> precision on return. This looks like a bug, but matches Glibc behavior.
> Moving such functions to C would either introduce removal of excess precision,
> or result in code that lies to the compiler by pretending that inline asm keeps
> values within precision of float/double, where in reality it might not.

the intention is to remove excess precision so it's good that's happening.

otoh it would be nice if there was a way to tell the compiler not to
remove it (e.g. in case the asm already took care of it) even in c99
standard mode.

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.