This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/5857] rint is broken on x86_64 systems for values from 262144.75 to 524286.75 stepped by 2
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Mar 2008 13:50:48 -0000
- Subject: [Bug math/5857] rint is broken on x86_64 systems for values from 262144.75 to 524286.75 stepped by 2
- References: <20080304032531.5857.mark.h.elliott@lmco.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From aj at suse dot de 2008-03-09 13:50 -------
you asked:
"But the real question is Why isn't rint using the frndint instruction on x86_64
systems!!??".
The double type on x86-64 systems is in general in XMM (SSE) registers. So, to
use frndint you would need to push the value from the xmm register to the x87
fpu and back. Such an implementation was not done so far.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2008-03-09 13:50:47
date| |
Summary|rint is broken on x86_64 |rint is broken on x86_64
|systems for values from |systems for values from
|262144.75 to 524286.75 |262144.75 to 524286.75
|stepped by 2 |stepped by 2
http://sourceware.org/bugzilla/show_bug.cgi?id=5857
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.