[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2019-09-18 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 Alexander Monakov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2019-09-17 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #11 from Eric Gallager --- (In reply to David Heidelberger (okias) from comment #10) > fixed in glibc so... what still needs to be done from GCC's side then?

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2014-03-10 Thread david.heidelberger at ixit dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 David Heidelberger (okias) changed: What|Removed |Added CC||david.heidelberger at ixit do

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-04-28 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #9 from Rich Felker 2012-04-29 01:21:59 UTC --- Reported to glibc bug tracker as bug #14032: http://sourceware.org/bugzilla/show_bug.cgi?id=14032

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-04-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #8 from joseph at codesourcery dot com 2012-04-29 00:16:38 UTC --- If you have a bug in glibc's libm, please make sure there is an open bug report for it in glibc Bugzilla, component "math"; I don't see anything there about sqrt.

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-04-28 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #7 from Rich Felker 2012-04-28 23:21:51 UTC --- This bug seems to have been fixed with the addition of the -fexcess-precision=standard feature, which is now set by default with -std=c99 or c11, and which disables the builtin sqrt base

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-03-16 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #6 from Rich Felker 2012-03-16 14:23:09 UTC --- The 387 FPU ensures correct rounding for the currently selected precision mode, which per the ABI is always extended precision. As for the usefulness of fixing this, I found the bug whi

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-03-16 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 Richard Guenther changed: What|Removed |Added Keywords||wrong-code Target|

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-03-15 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #4 from Rich Felker 2012-03-15 23:53:51 UTC --- Of course. This bug is 387-math-specific.

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-03-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #3 from Dominique d'Humieres 2012-03-15 19:24:53 UTC --- On x86_64-apple-darwin10 (default '-mfpmath=sse'), I get '0x1.fp-1' for all the revisions I have tested (from 4.4 to 4.8) unless I compile the test with '-mfpmath=38

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-03-15 Thread bugdal at aerifal dot cx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 --- Comment #2 from Rich Felker 2012-03-15 16:37:25 UTC --- Tested with gcc 4.6.2. #include #include int main() { volatile double x = 0x1.fp-1; volatile double y = sqrt(x); printf("%a\n", y); } Compile with -O2 -ffloat

[Bug target/52593] Builtin sqrt on x86 is not correctly rounded

2012-03-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|