public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES
@ 2005-01-24 7:16 uros at kss-loka dot si
2005-01-24 7:37 ` [Bug target/19602] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: uros at kss-loka dot si @ 2005-01-24 7:16 UTC (permalink / raw)
To: gcc-bugs
This testcase will fail with '-O2 -ffast-math -mno-80387':
#include <math.h>
double test(double x) {
return sin(x);
}
sin.c: In function 'test':
/usr/include/bits/mathinline.h:456: error: impossible constraint in 'asm'
Adding -D__NO_MATH_INLINES to compile flags fixes this problem.
--
Summary: -mno-80387 should define __NO_MATH_INLINES
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-pc-linux-gnu
GCC host triplet: i386-pc-linux-gnu
GCC target triplet: i386-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19602
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/19602] -mno-80387 should define __NO_MATH_INLINES
2005-01-24 7:16 [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES uros at kss-loka dot si
@ 2005-01-24 7:37 ` pinskia at gcc dot gnu dot org
2005-04-29 19:34 ` [Bug target/19602] -mno-80387 or -mfpmath=sse " uros at kss-loka dot si
2005-04-30 0:21 ` rth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-24 7:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-24 07:36 -------
glibc is fucked up really, it should not do this. We really should define it always because almost always
get better than glibc (especially with the tree-ssa).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19602
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/19602] -mno-80387 or -mfpmath=sse should define __NO_MATH_INLINES
2005-01-24 7:16 [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES uros at kss-loka dot si
2005-01-24 7:37 ` [Bug target/19602] " pinskia at gcc dot gnu dot org
@ 2005-04-29 19:34 ` uros at kss-loka dot si
2005-04-30 0:21 ` rth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: uros at kss-loka dot si @ 2005-04-29 19:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From uros at kss-loka dot si 2005-04-29 19:34 -------
Hm, I would also suggest setting __NO_MATH_INLINES for -mfpmath=sse to prevent
the performance degradation for XMM->x87 registers when x87 ASM code is included
from mathinlines.h. x87 intrinsics are disabled for the same reason!
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|-mno-80387 should define |-mno-80387 or -mfpmath=sse
|__NO_MATH_INLINES |should define
| |__NO_MATH_INLINES
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19602
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/19602] -mno-80387 or -mfpmath=sse should define __NO_MATH_INLINES
2005-01-24 7:16 [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES uros at kss-loka dot si
2005-01-24 7:37 ` [Bug target/19602] " pinskia at gcc dot gnu dot org
2005-04-29 19:34 ` [Bug target/19602] -mno-80387 or -mfpmath=sse " uros at kss-loka dot si
@ 2005-04-30 0:21 ` rth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-30 0:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-04-30 00:21 -------
We will not be setting __NO_MATH_INLINES for any reason. Work with glibc to get
the inlines disabled at the source under the correct conditions.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19602
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-04-30 0:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-24 7:16 [Bug target/19602] New: -mno-80387 should define __NO_MATH_INLINES uros at kss-loka dot si
2005-01-24 7:37 ` [Bug target/19602] " pinskia at gcc dot gnu dot org
2005-04-29 19:34 ` [Bug target/19602] -mno-80387 or -mfpmath=sse " uros at kss-loka dot si
2005-04-30 0:21 ` rth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).