This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13246] RFE: strtold: do not include uninitialized bytes when converting "NaN"


http://sourceware.org/bugzilla/show_bug.cgi?id=13246

--- Comment #10 from Jakub Jelinek <jakub at redhat dot com> 2011-10-06 09:56:33 UTC ---
Andreas is right, the value is returned in %st(0), which is an 80-bit hw
register.
So, as I said earlier, there is really nothing wrong on the strtold side.
The problem is when the compiler stores that %st(0) into memory.  And you
really don't want to penalize all long double using code that on each memory
store
instead of using fstp (%rsp) there is fstp %(rsp); movw $0, 10(%rsp); movl $0,
12(%rsp);

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]